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

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.

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

@SwipeIn
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.