Hi Janishar, thanks for this amazing post.
Anirudha Vishvakarma
1

Anirudha Vishvakarma

See PlaceHolderView 0.5.0 GitHub release notes: https://github.com/janishar/PlaceHolderView/releases/tag/0.5.0

You have to use below code:

//It initializes the Undo functionality
mSwipePlaceHolderView.getBuilder() .setIsUndoEnabled(true)

//To undo call this method
mSwipePlaceHolderView.undoLastSwipe();

Library also has Card PutBack mechanism. See release notes for more information.

Thanks

Ali

Show your support

Clapping shows how much you appreciated Janishar Ali’s story.