[英]Collapsible List Item in navigation Drawer
I have read the documentation of android Navigation Drawer but there is nothing on how to create collapsible/expandable List item in navigation drawer. 我已经阅读了android Navigation Drawer的文档但是没有关于如何在导航抽屉中创建可折叠/可扩展List项的信息。 I know something about android
ExpandableListView
but I think it is not the way to create it. 我对android
ExpandableListView
有所了解,但我认为这不是创建它的方法。 I want to create such nested item: 我想创建这样的嵌套项:
您可以从ExpandableListView
开始并编写自己的ExpandableListAdapter
并将其用作抽屉项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.