Skip to content Skip to sidebar Skip to footer

How To Create Listview With Categories/segments?

i want to create listview in android with following scenario Heading Category 1 item 1 item 2 item 3 Heading Category 2 item 1 item 2 Heading Category 3 item 1 and so on. any one g

Solution 1:

Solution 2:

I believe android.app.ExpandableListActivity is what you are looking for. Check out this sample: samples/android-9/ApiDemos/src/com/example/android/apis/view/ExpandableList3.java in your Android SDK.

Post a Comment for "How To Create Listview With Categories/segments?"