开发者

How do i create a simple expandable list in android

开发者 https://www.devze.com 2023-04-07 18:17 出处:网络
i want to make an expandable list in android ( with only one group ) that has item1, sub-item1, seperator, item2, sub-item2, sperator and so on..., where item1 and item2\'s values are taken from an ar

i want to make an expandable list in android ( with only one group ) that has item1, sub-item1, seperator, item2, sub-item2, sperator and so on..., where item1 and item2's values are taken from an array of numbers and sub-item1 and sub-item2's values are taken from an array of strings. I did att开发者_高级运维empt to find out but im pretty new and dont understand most of it(yet):D.

Thanks in advance.


You can use http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html link for expandable list.

All The Best

0

精彩评论

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