0
我想在一个ExpandableListView中隐藏组的标题grouppPosition
。我如何在Custom ExpandableListAdapter的getGroupView方法中执行此操作。隐藏ExpandableListView的组标题
我想在一个ExpandableListView中隐藏组的标题grouppPosition
。我如何在Custom ExpandableListAdapter的getGroupView方法中执行此操作。隐藏ExpandableListView的组标题
也许引用添加到您的ExpandableListView您CustomExpandableListAdapter内比:
expandableListView.expandGroup(group_position); // to expand
expandableListView.collapseGroup(group_position); // to collapse
这不是我的意思。我让这个团队不断扩大。现在我想隐藏折叠列表的标题。换句话说,我想使它像一个没有标题的简单ListView。 – Asym
好吧,如果我正确理解你的问题,你应该使可见性消失,不可点击的标题。 – AndroidGorilllla
@AndroidGorilllla将可见性设置为消失仍然占用UI空间。所以不能使用visibility.Gone –