Open neofusionlul opened 4 years ago
Any news on this? @neofusionlul
@bcoulston-triller sorry to disturb you once more, how are you cleaning the adapter? Just so I don't do something like, make null and don't have the same effect
Ah, sorry, got mixed up on accounts. I'm actually clearing the backing data structure for the adapter and calling notifyDataSetChanged
Haven't tried setting the adapter to null.
Issues and steps to reproduce
I have two views in a ViewSwitcher, one is a RecyclerView using Flexbox, one is just a ConstraintLayout. Whenever I swap between the ConstraintLayout BACK to the RecyclerView, Flexbox encounters an exception trying to redraw the items in the RecyclerView. See attached exception.
Expected behavior
The RecyclerView should be able to redraw the views within the flexbox
Version of the flexbox library
2.0.1
Link to code