Skip to content

xsorifc28/CountryPicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Country Picker

Features

This country picker is a simple dialog window presenting a list of countries translated in the user's phone language. It return an object containing the flag resource, the iso and dialing code of the selected country. See the example to see more detail.

How to install

compile 'io.xsor:countrypicker:0.3'

How to use

See sample app main activity.

If you want to retrieve a flag res outside of the country picker dialog use Utils.getMipmapResId(Context context, String drawableName) where the drawable have to be formatted as follow: countryIsoCodeInLowerCase. Utils.getMipmapResId(mContext, "fr")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%