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 –