我需要在expandable listview android中添加不同的子布局

编程入门 行业动态 更新时间:2024-10-26 00:30:22
本文介绍了我需要在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.

推荐答案

请参阅 developer.android/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 : stackoverflow/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中添加不同的子布局

本文发布于:2023-11-27 08:49:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1637359.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:布局   expandable   listview   android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!