开发者

How to create "docked" items in a ListView?

开发者 https://www.devze.com 2023-02-12 12:28 出处:网络
I\'m looking to create a display similar to the following screenshot: The main point is that each list item can be \"expanded\" to show sub-items. How can I create this in Android? I\'m not 开发者_

I'm looking to create a display similar to the following screenshot:

How to create "docked" items in a ListView?

The main point is that each list item can be "expanded" to show sub-items. How can I create this in Android? I'm not 开发者_如何转开发even sure how to have multiple types of list item renderers, let alone how to accomplish this, but I do know how to generally set up a ListView, its adapter, and the layout.


It's an ExpandableListView. It uses a special ExpandableListAdapter with different views for children vs. parents. Also at the bottom that is most likely a Footer that has been added to the ListView.

0

精彩评论

暂无评论...
验证码 换一张
取 消