Skip to content Skip to sidebar Skip to footer

How To Remove Items From A List With Swipe Gesture Like In Gmail

Possible Duplicate: android swipe to delete list row I want to implement a list of items and on swiping left->right the item should be remove, like a Gmail. Has Android some

Solution 1:

Roman Nurik posted some beta code implementing this feature a couple of months ago. Caveat is that it's only compatible for ICS+ devices. Fortunately, Jake Wharton backported the code soon after publication, using the NineOldAndroids library.

The latter provides a sample APK too, in case you feel like having a play with the result first.

Solution 2:

There is no native code to do that. However, you can check Roman Nurik's sample code here. Google Plus post here

Post a Comment for "How To Remove Items From A List With Swipe Gesture Like In Gmail"