Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 attempt to find out but im pretty new and dont understand most of it(yet):D.

Thanks in advance.

like image 203
Andy Lobel Avatar asked Dec 30 '25 07:12

Andy Lobel


1 Answers

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

like image 84
Richa Avatar answered Jan 01 '26 22:01

Richa