1

I am using Phone Number Formatting TextWatcher to format number according to given locale. my App support multiple language and i want to format phone number according to user selection like Uber app is doing for login. but Phone Number Formatting TextWatcher is not working when i am using its constructor with locale. below is the code snippet:

editText.addTextChangedListener(new PhoneNumberFormattingTextWatcher("ar"));
Phantômaxx
  • 37,352
  • 21
  • 80
  • 110
shafaq ahsan
  • 191
  • 3
  • 10

0 Answers0