LocalitiesAdapter

constructor(context: Context, resource: Int, types: List<LocalitiesTypes>? = null, componentsCountries: List<String>? = null, language: String? = null, location: LatLng? = null, radius: Int? = null, data: Data? = null, customDescription: Map<LocalitiesTypes, String>? = null)

Parameters

componentsCountries

A grouping of countries to which you would like to restrict your results. Countries must be passed as an ISO 3166-1 Alpha-2 or Alpha-3 compatible country code. For example: fr or fra would restrict your results to places within France. (optional) You can use Locale to get proper codes. For example: listOf(Locale.FRANCE.isO3Country, Locale.UK.isO3Country)