Sir, Firstly thank you for this awesome tutorial..
Anuj Gajbhiye

Anuj Gajbhiye

Thank you.

Add @SwipeOut and @SwipeIn annotation on the method which you want to get the accepted/rejected status, in the Card class.

private void onSwipedOut(){
Log.d("EVENT", "onSwipedOut");
// handle a rejected card status

private void onSwipeIn(){
Log.d("EVENT", "onSwipedIn");
// handle a accepted card status
Like what you read? Give Janishar Ali a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.