setCountryForPhoneCode does not set the countryCode to the desired countryCode
ankur-1989 opened this issue · 1 comments
ankur-1989 commented
I am performing the following steps:
- I have a button which opens a dialog and allows me to select the language or country.
- On selection of a particular country, I set the country code in a textView on the calling activity. (It recreate the activity as changing the locale settings of app.)
- onTextChangeListener, I set the country code in Country Code picker, but it always takes the default one instead of setting the desired one.
Is there something wrong here?
isabsent commented
"setDefaultCountryUsingNameCode()
or setDefaultCountryUsingPhoneCode()
will not set default country as selected country in CCP view. To set default country as selected country in CCP view, call resetToDefaultCountry()
method."