Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to restrict search result for specific countries & state? #23

Open
dindinii opened this issue Mar 14, 2019 · 2 comments
Open

How to restrict search result for specific countries & state? #23

dindinii opened this issue Mar 14, 2019 · 2 comments

Comments

@dindinii
Copy link

No description provided.

@dindinii
Copy link
Author

Any help on this! Need to add country filter in NiboPlacePickerActivity search result.

Thanks in advance

@ArisChoice
Copy link

ArisChoice commented May 29, 2019

you can use library as a lib module and in SuggestionsProvider class
Places.GeoDataApi.getAutocompletePredictions(mGoogleApiClient, query, null, null)

add filters to this line

But now you have to update all as per this
https://developers.google.com/places/android-sdk/client-migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants