回答

0

也许引用添加到您的ExpandableListViewCustomExpandableListAdapter内比:

expandableListView.expandGroup(group_position); // to expand 
expandableListView.collapseGroup(group_position); // to collapse 
+0

这不是我的意思。我让这个团队不断扩大。现在我想隐藏折叠列表的标题。换句话说,我想使它像一个没有标题的简单ListView。 – Asym

+0

好吧,如果我正确理解你的问题,你应该使可见性消失,不可点击的标题。 – AndroidGorilllla

+0

@AndroidGorilllla将可见性设置为消失仍然占用UI空间。所以不能使用visibility.Gone –