我使用的是ExpandableListView和ViewPager,所以在onPageSelected()中,我需要清除列表。对于ListView,我知道一种方法是setAdapter(null),但是如果在ExpandableListView上尝试,就会得到The method setAdapter(ListAdapter)is ambiguous for the type ExpandableListView错误。
最多是ExpandableListView在ExpandableListView内部,在ExpandableListView - so 3层的ExpandableListView中。MainGroup只会持有其他ExpandableListView。
除了最后两个,SubGroup还将持有其他ExpandableListView,后者将永远只是ChildViews。我的问题是,我认为我不理解ExpandableListView如何布局它的孩子的基本
我正面临着ExpandableListView的一个大问题。我的目标是让用户将项目的位置更改到这个单选项可扩展列表视图中:当用户单击某个项目时,该项目将变为选中状态,并出现上下文操作栏。//Contains Group and Child position of an ExpandableListView int GroupPosition//And also...if the focused view has moved to an invisibl