GithubHelp home page GithubHelp logo

Comments (3)

PLNech avatar PLNech commented on May 26, 2024 1

Thanks for your comment, I know understand your use case!

As per my reply in #70, the way to build what you want is by having two separate search interfaces, each having its own SearchBox/Hits/InstantSearch.

Using two SearchViews in the same interface, they are meant to stay in sync. This is why you're seeing the content of the first view in the second one : separating your two search interfaces is the way to go!

from instantsearch-android.

PLNech avatar PLNech commented on May 26, 2024

Hi there, thanks for your report!

This behavior is on purpose, so several SearchViews linked to the same search interface will display the same data.
Our intention was to make sure your users always see the query that corresponds to the current results, so they don't wonder why they see results for Foo while a SearchView contains bar.
Consequently if you have several SearchViews, as they could all contain input, we synchronise the inputs between SearchViews.

Can you explain what you are trying to build? I'd like to understand why you want two SearchViews linked to the same search interface but not displaying the same value.

from instantsearch-android.

zmsansan avatar zmsansan commented on May 26, 2024

See #70 (comment)
If i'am can't reuse SearchBox then i'am create two SearchBox and need has in differents SearchBox own query

from instantsearch-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.