ExpendableListView
时间: 2023-12-03 14:13:37 浏览: 14
ExpendableListView is a subclass of ListView in Android that allows developers to create a list of items that can be expanded or collapsed to show or hide its child items. It is commonly used to display hierarchical data, such as a list of categories and their subcategories, or a list of groups and their members.
ExpendableListView has two levels of items: the group items and the child items. The group items are the top-level items that can be expanded or collapsed, while the child items are the items that appear when a group item is expanded.
ExpendableListView provides a number of methods for managing the expandable list, such as adding and removing groups and child items, expanding and collapsing groups, and handling click events on the list items.
Overall, ExpendableListView is a powerful and flexible component that can be used to create complex and dynamic lists in Android apps.
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)