Is there a way to revert a swipe action and restore the view holder to its initial position after the swipe is completed and
onSwiped is called on the
ItemTouchHelper.Callback instance? I got the
ItemTouchHelper.Callback instances to work together perfectly, I just need to revert the swipe action and not remove the swiped item in some cases.
After some random poking I found a solution. Call
notifyItemChanged on you adapter. This will make the swiped out view animate back into it’s original position.
Answered By – DariusL