https://kotlinlang.org logo
#android
Title
# android
b

blakelee

04/11/2018, 12:19 AM
Copy code
val ids = it.result.filter { it.placeId != null }.take(5).map { it.placeId!! }.toTypedArray()
                        geoDataClient.getPlaceById(ids)
says it requires string even though the definition says vararg EDIT: Figured it out.
Copy code
geoDataClient.getPlaceById(*ids)