Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何在ExpandableListView子元素中添加不同的组件类型_Android_Expandablelistview - Fatal编程技术网

Android 如何在ExpandableListView子元素中添加不同的组件类型

Android 如何在ExpandableListView子元素中添加不同的组件类型,android,expandablelistview,Android,Expandablelistview,SA 我使用了以下示例: 将复选框作为ExpandableListView的子组件 问题是,我需要有以下结构: -Main Item 1 - text checkbox - text checkbox - button -Main Item 2 - text checkbox - text checkbox - button -Main Item 3 - text checkbox - text checkbox -

SA

我使用了以下示例:

将复选框作为ExpandableListView的子组件

问题是,我需要有以下结构:

-Main Item 1
   - text   checkbox
   - text   checkbox
   - button
-Main Item 2
   - text   checkbox
   - text   checkbox
   - button
-Main Item 3
   - text   checkbox
   - text   checkbox
   - button

谢谢。

这不是你想要的答案,但我相信你会对如何做到这一点有更多的了解。