I am trying to delete the recyclerview item. once user swipes the item it should move for particular width not completely so that i can add a button in that swiped portion allowing user to click on that to delete the item.Exactly like the image attached. At the place of settings icon i want to show my own image when item is swiped.
Asked
Active
Viewed 690 times
1 Answers
1
This is not intended to behave that way. But its possible. Firstly (Recommended) there are some 3rd party librarys that will help you. Here is one of them:
advanced-Recyclerview on Github
Alternatively if you want to go the more complicated way but not 3rd party dependent way check the answer here.

Vadim Kotov
- 8,084
- 8
- 48
- 62

Oliver U.
- 336
- 1
- 4
- 14