I have a listView
, which has a onItemLongClick
method that when clicked selects the clicked item. I would like to know how to continue selecting with just one click.
If someone can post an example, I would appreciate it.
I have a listView
, which has a onItemLongClick
method that when clicked selects the clicked item. I would like to know how to continue selecting with just one click.
If someone can post an example, I would appreciate it.
If you can already make the selection then:
onItemLongClick()
return false
. onItemClick()
method by passing the code that is in onItemLongClick()
and that makes the selection for it. If you do not see this response .