listView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() { public boolean onItemLongClick(AdapterView<?> arg0, final View arg1, int arg2, long arg3) { IN here you would put something to do on long click } }
On Tuesday, August 28, 2012 9:05:58 PM UTC-7, Sandy wrote: > > > Hi Please let me know asap, I am stuck. > On Aug 28, 1:32 pm, Jason Sesso <djse...@gmail.com> wrote: > > It seems that you. Need to add the onlongclick method. I just did this > recently. Ill get you an example in awhile. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en