baldraider
baldraider

Reputation: 1069

how to bound latitude and longitude in android?

how to bound latitude and longitude while calling for google place autocomplete using url in android. I tried PlaceAutocompleteFragment but it shows

cannot resolve symbol PlaceAutocompleteFragment.

Upvotes: 0

Views: 311

Answers (1)

josacky
josacky

Reputation: 146

PlaceAutocompleteFragment was introduced in play services version 8.4.0 so use compile 'com.google.android.gms:play-services-location:8.4.0'

in your build.gradle file to use the PlaceAutocompleteFragment widget

Upvotes: 2

Related Questions