0

I'm a beginner in android, I have a list view and i'm planning to have a long key press on it then an alert view will ask the user if he wants to delete the chosen row.

Janusz
  • 187,060
  • 113
  • 301
  • 369
Kev
  • 173
  • 1
  • 4
  • 12

1 Answers1

2

Register context menu for listview.

For Example,

http://www.mikeplate.com/2010/01/21/show-a-context-menu-for-long-clicks-in-an-android-listview/

Rupali
  • 774
  • 7
  • 15