-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support filterable interface on RealmBaseAdapter #79
Comments
This is a good example for using |
@Zhuinden, I followed step by step your suggestion on SO and tried to implement it. Realm versions tested: 5.7.0 and 5.8.0 Devices tested:
In my adapter extending
And when my search listener gets triggered from the Debugging both my code and Realm library code I cannot see anything suspicious: I mean that in Realm code the Do you have any suggestions? Is it possible that from your SO answer some changes in Realm may have altered the outcome? |
No I think this should work as long as you are using |
I didn't notice the change in release. I was still using the 2.1.1. Any idea/suggestion, guys? |
I really think that for me the problem is the Looking at the source code I see this line RealmRecyclerViewAdapter.java, l. 205:
When I first used RecyclerView I often forgot that changing the instance of the collection underneath the adapter was wrong, and I always used But I'm sure I'm missing something... |
You're using |
Lifesaver!!! So, basically, what I didn't get is that with |
Yeah, pretty much, otherwise you'll run into the problem that you won't access the new dataset after using |
Again, thank you so much! |
Moved from realm/realm-java#646
As pr. this discussion on Google Groups:
https://groups.google.com/forum/#!topic/realm-java/KMwalH1sD3Y
This will require being able to move objects between threads. Will at least require realm/realm-java#503 first
The text was updated successfully, but these errors were encountered: