Closed awscoolboy closed 4 years ago
How can I know the number of results?
@awscoolboy To limit the number of results, you can refer to https://github.com/suiko1984/geofirestore-android#compound-query Example: GeoFire geoFire = new GeoFire(ref, ref.limit(30));
@zoro238 The number of results depends on the limit you choose for the query. If no query is set, the number of results is undefined. You can then retrieve the number of results in the callback.
no no no.. sure you did not understand what I mean. Now I did a search and found an example of 20 people. I want it. After completing the research, the number 20 appears, it is the number of people he found The second point, when I exit my activity, stops searching ..
how to limit the number of result