Includes support for getting country calling code.
Forked from: https://github.com/roomorama/AndroidCountryPicker
Data: https://github.com/lilpirate/countries
Original data: https://github.com/mledoze/countries
Thanks @thomasdao for his awesome country picker. :)
CountryPicker is a simple fragment that can be embedded or shown as dialog. See the example to see more detail.
The functions are simple:
-
Allow user to search the country
-
Inform client which country user has selected
-
Easily retrieve the selected country's calling code
I needed a country picker that supported getting calling codes. So I took data from @mledoze's repo and the country picker from @thomasdao and stitched this up.