android - How Can I display a event when the user keep touch in a Listview? -


i have seen in app when user keep touch in listview show action delete or anything.

for when user keep touch can use listener onitemlongclick have this:

listview.setonitemlongclicklistener(new onitemlongclicklistener() {          public boolean onitemlongclick(adapterview<?> arg0, view arg1,                 int pos, long id) {             // show action.         }     });  

Popular posts from this blog

html/hta mutiple file in audio player -

debugging - Reference - What does this error mean in PHP? -