如何创建一个简单的扩展列表中的android [英] How do i create a simple expandable list in android

查看:234
本文介绍了如何创建一个简单的扩展列表中的android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想打的可扩展列表中的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.

在此先感谢。

推荐答案

您可以使用<一个href="http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/ExpandableList1.html" rel="nofollow">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.

万事如意

这篇关于如何创建一个简单的扩展列表中的android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆