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,901
  • 21
  • 84
  • 115
shafaq ahsan
  • 201
  • 3
  • 10

0 Answers0