Learn how to make conditional requests with InstantSearch Android.
By default, InstantSearch sends an initial to Algolia’s servers with an empty .
This connection helps speed up later requests.However, sometimes you don’t want to perform more network calls than are necessary.
For example, you may want to limit the number of search requests and reduce your overall Algolia usage.
This guide helps you build a UI that prevents this initial request.
All the Searcher implementations such as HitsSearcher and FacetSearcher provide the triggerSearchFor closure which defines the boolean condition for triggering a search operation.
By default has a null value so the search will be triggered on each search() function call.