1

Android ListView subitem onClick prevents onItemClick

view story
linux-howto

http://stackoverflow.com – I'm extending a CursorAdapter to bind data to views in a ListView. When the subview within the item has an onClick listener, onItemClick is not called for the row. I want subview's onClick method called, AND the onItemClick method called, AND the row to highlight when touched (as it does by default when the subview does not have an onClickListener attached). The other touch methods (like onLongClick) return a boolean, indicating whether the touch event was consumed, but the onClick method returns void, and is acting as if it had the boolean returning true. In my activity_main.xml I have (HowTos)