I have a ListView with listeners for a long click and a regular click.
Why, when I long press a list item, the regular click event gets called too?
I need to
Make sure you are overriding OnClickListener for your onClick method. Also make sure you are overriding OnLongClickListener for your onLongClick method. And make sure that your onLongClick method returns true, as this will consume the onClick.
OnClickListener
onClick
OnLongClickListener
onLongClick
true