Closed IsnoneTy closed 5 years ago
I think avoid nested layouts in your item_spot.xml then this issue will be gone :)
I have this same issue. The problem arises because onBindViewHolder invokes Glide to load the image on each call, and that makes the drag animation lag significantly. No nested layout in the card layout. I'll have to roll back to 1.x for the time being.
I have the same issue
Downgraded to 2.0.0 version and problem gone
@Pirksy 2.2.0 also works
Is there any other way to solve nested layout issue? I downgraded to 2.0.0 but the issue still remain
@yuyakaido please review merge #171. removeAndRecycleAllViews(recycler)
causes instantiating all views again. Consider to replace it with detachAndScrapAttachedViews(recycler)
@IsnoneTy @vphuong1205 @rossica @Pirksy @chrisrohitbrendan @hockleongloh @taomWTP Sorry for late reply. This issue has been fixed in ver. 2.2.4.
@taomWTP Thank you so much for your helpful advice!
CardStackLayoutManager use removeAndRecycleAllViews(recycler) in update(RecyclerView.Recycler recycler)