views:

41

answers:

1

Hi, I would like to implement onfling (or some similar swipe) in listview in each and every item in list. If I swipe that particular item it should display three buttons next to the name.

Is there any idea to implement this.

A: 

Use EfficientAdapter rather than listview. Using which you can set theonFling event and override it to your needs

Ashay
@Ashay: can you please specify what is that efficientAdapter. is there any good tutorial for that? i want the same functionality of listview
Adhavan
Use this link for EfficientAdapter example you can used it the way you can http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List14.html
Ashay
Also use this List1.setAdapter(new EfficientAdapter(this)); for your adapter
Ashay