AAkira/ExpandableLayout

ExpandableLinearLayout in recycler view affects animations

dopesky opened this issue · 1 comments

According to the ReadMe file, You Recommended that in a recycler view one should set viewHolder.isRecyclable(false). This has a nasty effect on item animations and causes old views to still be visible after an adapter update and new views to be rendered on top of old ones. Is there a work around to this? Is there a way to use the ExpandableLinearLayout in a recyclerview that uses recyclable viewholders?

I have used this and its working for me. Now I am able to use Expand and Collapse view in RecyclerView also.