Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get countrycode from country #8

Open
neiljaywarner opened this issue Sep 2, 2014 · 1 comment
Open

get countrycode from country #8

neiljaywarner opened this issue Sep 2, 2014 · 1 comment

Comments

@neiljaywarner
Copy link

I'd like to be able to use this class to have an associated edittext in general, or at least a utility function so we can get String country=CountryPicker.getCountryName(countryCode) (so given "CA") i can autofill this to Canada

Would it be a good idea to move the get Counrylist to the constructor so it happens in newinstance (the read from file?)

@Ricardo1980
Copy link

You can do it yourself using Android locale methods.
Just the opposite from what I wrote here:
#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants