ListView with CAB - how to make an item clickable but not selectable?
I have one ListView
with a custom adapter. Some items can be selected, others not. Selecting the item to select initializes the CAB.
To disable selection of items, I override isEnabled()
in the adapter class. But disabled items do not trigger callbacks onItemClick()
.
How can I make elements clickable and non-selectable in CAB mode at the same time?
+3
source to share