Skip to content Skip to sidebar Skip to footer

Android - Checkbox Blocks Expandablelistview.ongroupclicklistener

I'm trying to put a checkbox into ExpandableListView. How do I do that? I extend BaseExpandableListAdapter and put the following into getGroupView(): @Override public View getGroup

Solution 1:

Anytime you place an item that is focusable in a list the list items no longer respond to clicks or anything like that. For every item you place in the list item that is focusable (buttons, checkboxes, etc), you need to set the android:focusable attribute to false.

I had a similar question and that was the answer for me. Android custom ListView unable to click on items

Post a Comment for "Android - Checkbox Blocks Expandablelistview.ongroupclicklistener"