-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Crash on data-set update when DiffUtils is used #332
Comments
Thanks for the report. I'm not familiar with RxJava, it is possible replace the chain without RxJava? |
Sorry for the late response. I have removed RxJava from my post. |
Sorry for the late response. |
No problem, thanks @thagikura! |
I'm having the same issue using Renderers library and their diff algorithm with FlexboxLayoutManager.
Changing from their |
Would love to see DiffUtil support for animations as well |
@thagikura Any progress on this issue? I rely heavily on DiffUtils for proper animations
but |
@thagikura I've made a temp fix for myself in my fork by adding a check if the position is equal to NO_POSITION in the method assignFromView. The changed lines can be found here. I'm not sure about solution correctness, but it didn't break tests and crash gone for me. |
@Bringoff thanks for you suggestion. Let me take a look at it. |
@thagikura still getting this FC Issues and steps to reproduceUpdate the items in androidx.recyclerview.widget.RecyclerView with androidx.recyclerview.widget.ListAdapter Expected behaviorThe list should handle multiple changes Version of the flexbox library1.1.0 Link to code
happens when
|
Issues and steps to reproduce
I'm seeing this crash when trying to filter my list items using a search query:
Steps to reproduce
This started to happen after I added DiffUtils for showing item animations. Here's what I'm doing:
Version of the flexbox library
I tested on both v0.3-alpha3 and v0.3.
The text was updated successfully, but these errors were encountered: