Swipe to Delete Item of RecyclerView in Android

In the last article we have learned about how to expand and collapse item of the recyclerView. If you have not seen please check with this link Expandable item in recyclerview.

Today I am focusing good feature about swipe to delete or add item in recyclerView because it is good user experience. In recyclerView provide ItemHelper Class to handle this case. But it not provide good customized.

While searching the best feature I found one library That really help me. He made our life easy, so full credit goes to him, For more details about this library Here is detail link: Itemtouchhelper-extension
In this article We can swipe three different way to delete the item of recyclerView.