我正致力于让Expandable List View在它旁边添加图片和文本。我在这里找到了这个例子的大部分内容但我一直收到一个Error01-07 22:42:26.182: E/AndroidRuntime(28475): at android.widget.ExpandableListConnector.getView(ExpandableListC
最多是ExpandableListView在ExpandableListView内部,在ExpandableListView - so 3层的ExpandableListView中。MainGroup只会持有其他ExpandableListView。
除了最后两个,SubGroup还将持有其他ExpandableListView,后者将永远只是ChildViews。我的问题是,我认为我不理解ExpandableListView如何布局它的孩子的基本原则。我看过像这样
我使用的是ExpandableListView和ViewPager,所以在onPageSelected()中,我需要清除列表。对于ListView,我知道一种方法是setAdapter(null),但是如果在ExpandableListView上尝试,就会得到The method setAdapter(ListAdapter)is ambiguous for the type ExpandableListView错误。