Swipe to Delete Not Working Consistently Across Fragments in ViewPager
I'm developing an Android application with two fragments in the tablayout managed by ViewPager in a single Activity. I'm experiencing inconsistent behavior with the swipe delete functionality for items in a RecyclerView in these fragments.
I have two fragments:
SpendingFragment
PurchaseGoalsFragment
When I swipe to delete an item in the fragment that is currently visible, I expect the item to revert to its original position (unswiped state) immediately after being swiped, as I am not yet...