我需要在expandable listview android中添加不同的子布局 [英] I need to add different child layouts to the expandable listview android

查看:77
本文介绍了我需要在expandable listview android中添加不同的子布局的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在子视图中添加整个布局,它包含多个文本视图。我想将数据添加到特定的文本视图。我知道如何在列表视图中做但我不知道如何做expandablelistview请帮助我,如果你有一个想法提前感谢。

I need to add the whole layout in child view, it contains number of text views in it. i want to add the data to a particular text view .I know how to do in list view but i don't know how to do in expandablelistview please help me if u have an idea thanks in advance.

推荐答案

请参阅 http://developer.android.com/reference/android /widget/ExpandableListView.html [ ^ ]。


我已经在导航抽屉里面实现了可扩展的listview。您可以在此链接中查看完整的源代码:



I already implementing expandable listview inside navigation drawer. You can check it out for the full source code in this link :

http://stackoverflow.com/questions/20916692/expandablelistview-drill-down-in-sliding-menu/21088410#21088410





我希望它会为您的项目提供一些建议。祝你好运。



I hope it will give you some idea for your project. Good Luck.


这篇关于我需要在expandable listview android中添加不同的子布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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