0

I created a list view, now I want to make it just like when I swipe them left or right it behave like call and message button respectively.

Image.

Just like this Image. A list view carrying some data. While we swipe it left or right it respond. Here I need to know how can I do that make that respond as a call and message.

umar faraz
  • 371
  • 5
  • 18

2 Answers2

1

As far as I know, this action is not called a slide, this is SWIPE. I think you can use this tutorial: http://www.tutecentral.com/android-swipe-listview/ Also check out the answer to a similar question here: Android ListView Swipe Right and Left to Accept and Reject

Community
  • 1
  • 1
SAM_U_RAI
  • 65
  • 6
0

You can use

https://github.com/nemanja-kovacevic/recycler-view-swipe-to-delete

for swipe to delete ..with default recycler view too..

Anil Prajapati
  • 457
  • 3
  • 10