Return false from onLongClick if you have handled the click as a long click.
On Aug 31, 12:52 am, tatebn <[email protected]> wrote: > I'm using a ListAction and I'm having some trouble with my listeners. > I'm using onListItemClick to catch any item clicks, which works fine > unless I add an OnLongClickListener to the list items. In that case > the long click works but the short click doesn't register. I've tried > adding an OnClickListener to the items individually as I had done with > the long click. This works, but the regular click fires every time > the long click does. How do I keep these things separate? > > Thanks, > Brandon -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

