CountryUtils

Functions

Link copied to clipboard
Link copied to clipboard
fun getCountryByCode(countryCode: CountryCode?, currentLocale: Locale): Country?
Link copied to clipboard
fun getCountryCodeByName(countryName: String, currentLocale: Locale): CountryCode?
Link copied to clipboard
fun getDisplayCountry(countryCode: CountryCode, currentLocale: Locale): String
Link copied to clipboard
fun getOrderedCountries(currentLocale: Locale): List<Country>

Show user's current locale first, followed by countries alphabetized by display name