Swipe ListView item From right to left show delete button

user3098538 picture user3098538 · Dec 27, 2013 · Viewed 190.9k times · Source

I have a custom ListView showing the list of words selecting from database. When I swipe this listview item i want to show Delete button like image below. And when I press that button it is deleted from Database and refresh the listview. mSwipe Listview item

I already look in this sample code here. But it still does not work.

Answer

Luciano Rodríguez picture Luciano Rodríguez · Dec 27, 2013

EDIT: between other options there's a nice library that could solve your issue: https://github.com/daimajia/AndroidSwipeLayout