如何在 android 中以编程方式创建多个列表
How to create multiple list programmatically in android
我需要创建多个列表,每个列表都应处于折叠视图中,如下图所示
用户可以一次打开多个折叠部分。
我必须创建它,但我不确定我该怎么做,任何提示或帮助将不胜感激。
A view that shows items in a vertically scrolling two-level list. This
differs from the ListView by allowing two levels: groups which can
individually be expanded to show its children. The items come from the
ExpandableListAdapter associated with this view.
我需要创建多个列表,每个列表都应处于折叠视图中,如下图所示
用户可以一次打开多个折叠部分。 我必须创建它,但我不确定我该怎么做,任何提示或帮助将不胜感激。
A view that shows items in a vertically scrolling two-level list. This differs from the ListView by allowing two levels: groups which can individually be expanded to show its children. The items come from the ExpandableListAdapter associated with this view.