【发布时间】:2016-09-13 04:30:20
【问题描述】:
我是 Android 新手。如何在我的 ListView 中使用类别上的箭头创建类别。例如,我想查看 100 个类别,单击某些类别后,我可以看到里面
【问题讨论】:
标签: android listview android-studio
我是 Android 新手。如何在我的 ListView 中使用类别上的箭头创建类别。例如,我想查看 100 个类别,单击某些类别后,我可以看到里面
【问题讨论】:
标签: android listview android-studio
在带有 ExpandableListView 的 Android 中,您可以创建带有类别的列表视图。
有很多教程和示例可供使用。
以下是几个不错的链接:
http://www.mysamplecode.com/2012/10/android-expandablelistview-example.html http://javapapers.com/android/android-expandable-listview/ http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/ http://androidexample.com/Custom_Expandable_ListView_Tutorial_-_Android_Example/index.php?view=article_discription&aid=107&aaid=129
为了理解概念和理论,请查看官方开发者页面 https://developer.android.com/reference/android/widget/ExpandableListView.html
【讨论】:
我认为您需要具有类别的可扩展列表视图,如果您可以参考下面的链接了解更多详细信息,您可以添加更多类别...
http://androidcoding.in/2016/04/08/android-tutorial-on-expandable-listview/
【讨论】: