Skip to content Skip to sidebar Skip to footer

How To Minimize Amount Of Requests For Google Api (places) Autocomplete?

I am using google API - places to autocomplete locations in AutoCompleteTextView. I did couple of tests maybe 20 searches and in my profile on google devs, it's written that I have

Solution 1:

I think a better implementation to reduce the number of calls to the Places API would be to put in a delay of maybe 0.75 seconds after the last key-press. That would avoid confusion on the part of a user who after seeing autocomplete after 3 letters, sits and waits after typing his 5th.


Post a Comment for "How To Minimize Amount Of Requests For Google Api (places) Autocomplete?"