When using a CheckBox in a ListView (or other inflated view) note that if the row contains a CheckBox then it will ‘steal’ the focus from the row/item so your onItemClick event won’t fire. To override this behaviour use the attributes below in your CheckBox:
android:focusable="false"
android:focusableInTouchMode="false"
No comments:
Post a Comment