【发布时间】:2016-08-19 14:40:53
【问题描述】:
我是 Android 的初学者。
此时我已经实现了几个ListViews,还有一个ExpandableListView。
现在我想获得一个带有组/部分的ListView,我喜欢使用ExpandableListView 来获得组。但是我不想要展开/折叠的能力。
我搜索了一下,似乎不可能,看来我需要使用getViewTypeCount()和getItemViewType(int)。
也许我错了,但感觉这种实现比BaseExpandableListAdapter更脏。
我能/应该做什么?
谢谢!
【问题讨论】:
标签: android listview expandablelistview android-adapter