Implementing Swipe Left button to delete row from recyclerview – Kotlin

I have to implement swipe left to delete as below :

enter image description here

Not full swipe to delete. Swipe to show this delete button and on click of this delete button, it should delete the entire row from recyclerview.

Please guide. Thanks.

Read more here:

Content Attribution

This content was originally published by Jaimin Modi at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: