如何创建一个简单的扩展列表中的android创建一个、简单、列表中、android

2023-09-07 13:33:52 作者:辞镜

我想打的可扩展列表中的Andr​​oid(只有一组),有ITEM1,分ITEM1,分离器,项目2,分项目2,sperator等等...,为ITEM1和ITEM2的值取自号和子ITEM1和子ITEM2的值的数组取自字符串数组。我也试图找出,但即时通讯pretty的新的和不明白大部分(但)。:D

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.

在此先感谢。

推荐答案

您可以使用http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html链接扩展列表。

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

万事如意