3

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.

Andy Lobel
  • 3,356
  • 9
  • 31
  • 40

1 Answers1

3

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

Richa
  • 3,165
  • 1
  • 22
  • 26
  • haha yeah ive been looking at them on there and the http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList3.html one is the layout i want but i cant figure out how to put stuff from my arrays into the boxes instead of their stuff because they use that 'map<>' stuff and sod knnows what that is :P any ideas? – Andy Lobel Sep 26 '11 at 04:39