Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slide ListView Item on Android like iPhone Mail app

I'm starting with Android development and I was trying to create a ListView item that acts like this image:

target for Android ListView.

On the last step the user can click on "more" or "delete" and the other view will stay there like the last step, and the user will be able to swipe right to put the view back at the place

I have already tried using some tutorials about swipe to dismiss but I couldn't get this done. Does anyone know any framework or some way to do this?

like image 955
tvaamorim Avatar asked Oct 15 '13 22:10

tvaamorim


2 Answers

Try to implement 47degree Android-SwipeListView. This is perfect fit for your requirement.

Library URL:

https://github.com/47deg/android-swipelistview

Full Fledge Working Example:

https://play.google.com/store/apps/details?id=com.fortysevendeg.android.swipelistview

This is best ever listview extension i have found so far!! And I am sure you too will like it...

like image 74
GDroid Avatar answered Nov 10 '22 13:11

GDroid


Check out SwipeMenuListView

It looks a lot more like the Swipe-able TableViews in iOS:

SwipeMenuListView SwipeMenuListView SwipeMenuListView

like image 30
Sheharyar Avatar answered Nov 10 '22 12:11

Sheharyar