Upgrading InstantSearch Android
On this page
Upgrade from InstantSearch v1 to v2
InstantSearch v2 introduces a new architecture and new widgets, which brings several breaking changes from v1:
- No longer an
InstantSearchcomponent automatically connecting widgets. You are now in control of the
Searcherand responsible for connecting and disconnecting it from widgets and other components.
- The widgets are now built around
ViewModels, holding their data and business logic.
Compared to the V1 where widgets were Android
Views, now the core of the widget is its view-model, and the UI is behind an interface to ensure minimal coupling.
The InstantSearch Android v1 documentation is available on the legacy docs page.