firebase / geofire-java

GeoFire for Java - Realtime location queries with Firebase
MIT License
670 stars 271 forks source link

What is triggered when the query finished #139

Closed brh closed 6 years ago

brh commented 6 years ago

For my project it is desired that we load all the mapmarkers in one shot, instead of a seeming pop in. So, is GeoQueryEventListener..onGeoQueryReady an efficient way to know when all the values from queryAtLocation have returned? If not is there a way to do that?

puf commented 6 years ago

That indeed sounds like a good use-case for onGeoQueryReady, which fires after the initial data has loaded.

If you're having problems making it work, post a question with the minimal code that reproduces the problem on Stack Overflow, where more people are likely to see it.

samtstern commented 6 years ago

Thanks @puf