swipe() not working after notifyDataSetChanged Or update adapter
Initial stage all card swiped manually or programmatically worked fine but after get swipe all cards updating adaper with new cards but its not working programmatically swiping and after dragging one card it swipe all card automatically.
don't use notifyDataSetChanged because its reload all items again after notifyDataSetChanged method called, so I will suggest using DiffUtil.
Nice example of DiffUtil :- https://www.journaldev.com/20873/android-recyclerview-diffutil
@devganiyahitesh1 @kdblue From my limited testing, it looks like you can use a ListAdapter and only need to implement DiffUtil.ItemCallback. It will do the work that is shown in @kdblue 's link for you, so you have a lot less boiler plate to write.
https://developer.android.com/reference/android/widget/ListAdapter