【问题标题】:How to add a subview to a listview item onClick android如何将子视图添加到列表视图项目onClick android
【发布时间】:2012-10-04 07:30:53
【问题描述】:

我正在使用 ListFragments 和 android 版本的 ICS

我有一个包含项目的列表视图

例如。 列出项目 1

list item 2
list item 3

当用户点击我想要显示子视图的任何列表项时

例如:列出项目 1

 list item 2 
   subview
 list item 3

任何帮助都会很有用!

【问题讨论】:

    标签: android listview onclick android-fragments listitem


    【解决方案1】:

    你要找的是ExpandableListView

    【讨论】:

      猜你喜欢
      • 2020-02-12
      • 1970-01-01
      • 2020-11-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多