【发布时间】:2017-09-16 10:00:46
【问题描述】:
【问题讨论】:
标签: android android-layout listview android-fragments
【问题讨论】:
标签: android android-layout listview android-fragments
据我所知,您希望根据您所描述的记录(全部、学生、教师和其他)对 ListView 进行分类。
我的建议是使用 Expandable ListView。 https://developer.android.com/reference/android/widget/ExpandableListView.html
您可以非常有效地在可展开的 Listview 中对记录进行分类。
也可以根据自己的情况进行定制。就像默认折叠和展开特定记录或展开所有记录一样。
【讨论】: