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
android expandablelistview


source to share


No one has answered this question yet

Check out similar questions:

1207
Strange memory issue when loading image into Bitmap object
421
Android: expand / collapse animation
52
Collapse all groups except the selected group in the Android expandable list
4
android expandablelistview, expand view only when the group indicator is clicked, open a new activity when clicking anywhere other than the group indicator
3
Android default group indicator ExpandableListView
1
ExpandableListView Indicator icons depending on group state
1
ExpandableListView: incorrectly returned groupPosition if expanded childView
1
A three-level expandable list view collapses everything except the one selected in the second group
1
ExpandableListView - android
0
expand all views when activity loads into ExpandableListView



All Articles
Loading...
X
Show
Funny
Dev
Pics