How do i create a simple expandable list in android
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
精彩评论