Closed satyam-27 closed 5 years ago
Maybe ['us', 'pr', 'vi', 'gu', 'mp'] ?!? Documentation says only one country https://developers.google.com/android/reference/com/google/android/gms/location/places/AutocompleteFilter.Builder
setCountry("IN")
above method takes only string but you are suggesting string array. Cant pass string array as string. Is there are way to set more than one country?
This sample has been deprecated/archived (check README for more information on newer samples related to this technology).
As recommended by GitHub, we are closing all issues and pull requests.
val autoCompleteFilter = AutocompleteFilter.Builder().setTypeFilter(Place.TYPE_COUNTRY) .setCountry("IN") .build()