Comments (3)
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 SearchView
s 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.
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.
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)
- SearchboxView OnQueryChanged HOT 1
- Crashes in release build after upgrading to gradle 7.0.0 HOT 6
- Insights: expired events in a batch make the server decline the whole batch
- Paging broken in 2.11.0? HOT 2
- Searching for an emoji doesn't search in the selected language
- java.lang.NoSuchMethodError When Instantiating Query HOT 9
- Showing results in a new Activity from another Fragment
- PendingIntent flag error on android 12 HOT 3
- .aar file missing from 2.11.2 in Maven HOT 2
- HttpClient: RESPONSE https://xxxx-dsn.algolia.net/1/indexes/*/queries failed with exception: kotlinx.serialization.MissingFieldException HOT 1
- Dependency Dashboard
- Http client engine HOT 3
- InstantSearch: Duplicated items in Infinite Hits Compose paginator HOT 2
- Instant Search + Paging 3 + Flow HOT 4
- Algolia search suggestion not working in android
- Can't instantiate HitsSearch or any InstantSearch class HOT 4
- Android Instant Search Duplicate Algolia APIs are calling
- Error(s) while processing the retry strategy HOT 1
- Crash in InsightsEventDOMapper when obfuscating with R8 due to Kotlinx Serializer HOT 2
- Android InstantSearch kotlinx.coroutines.JobCancellationException: Parent job is Completed Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instantsearch-android.