Is there any way for as long as the user types in a EditText
go by inserting hyphen (-) every 4 characters typed? In the same way some licenses work, the dash (-) is already inserted automatically.
Is there any way for as long as the user types in a EditText
go by inserting hyphen (-) every 4 characters typed? In the same way some licenses work, the dash (-) is already inserted automatically.
It has a legal tutorial and works at run time here :
Just change Mask.insert ("###. ###. ### - ##", cpf) for the mask you want.