Android ExpandableListView expand / collapse only by clicking on indicator button

I have a standard Android ExpandableListView in my Activity where the group / child view is a simple TextView. Regardless of whether I press the expand / collapse or TextView button, it always expands / collapses. I want the list to expand / collapse only if the user clicks on the indicator. How can i do this? In order for the TextView to be clicked, something else has to happen. Unfortunately, OnGroupClickListener does not provide this information. Thanks to

+3


source to share





All Articles