CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

How can i set no country as selected by default?

Open IstiyakV opened this issue 2 years ago • 3 comments

i saw India is auto default country here, but I want to show them a view like "Choose A Country" then people will choose a country.

IstiyakV avatar Mar 21 '22 16:03 IstiyakV

Unfortunately, there is no easy way for now. If you are just starting out, checkout Android Country Picker library that allows this functionality out of the box.

Checkout documentation for this funcationality https://github.com/hbb20/AndroidCountryPicker/wiki/Country-Picker-View#cpviewconfig-source

hbb20 avatar Mar 21 '22 16:03 hbb20

How can i get selected country Name Code in JAVA from this library, I did not found proper documentation for java

IstiyakV avatar Mar 22 '22 11:03 IstiyakV

That library is written in Kotlin and is not really tested with Java.

hbb20 avatar Jul 25 '22 00:07 hbb20