社区
Android
帖子详情
Expandablelistview addFooterView一个view之后 怎么设置默认展开
await123
2014-08-20 04:12:19
我的Expandablelistview 加了一个头布局之后 发现不是默认展开了 求大神指教
...全文
235
3
打赏
收藏
Expandablelistview addFooterView一个view之后 怎么设置默认展开
我的Expandablelistview 加了一个头布局之后 发现不是默认展开了 求大神指教
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
await123
2014-09-12
打赏
举报
回复
我的意思是 当我的expandableListView expandableListView.addFooterView(foot);添加一个一个自定义的view之后 不能默认展开 for (int i = 0, count = expandableListView.getCount(); i < count; i++) { expandableListView.expandGroup(i); } View foot = getLayoutInflater().inflate(R.layout.surgery_weichuang_foot, null); expandableListView.addFooterView(foot); 压根没用啊
cys1991
2014-08-20
打赏
举报
回复
expandGroup(i)
sagittarius1988
2014-08-20
打赏
举报
回复
Expandablelistview 有个方法 expandGroup(int groupPos),执行这个就展开了
【Android基础】
ExpandableList
View
嵌套List
View
ExpandableList
View
是
一个
垂直滚动显示两级列表项的视图,与List
View
不同的是,它可以有两层:每一层都能够被独立的
展开
并显示其子项。这些子项来自于与该视图关联的BaseExpandableListAdapter。 有时候简单的
ExpandableList
View
不能满足我们的需求,比如下面这样的需求: 这就需要在
ExpandableList
View
里面再嵌套
一个
List
Android
ExpandableList
View
嵌套List
View
ExpandableList
View
是
一个
垂直滚动显示两级列表项的视图,与List
View
不同的是,它可以有两层:每一层都能够被独立的
展开
并显示其子项。这些子项来自于与该视图关联的BaseExpandableListAdapter。 有时候简单的
ExpandableList
View
不能满足我们的需求,比如下面这样的需求: 这就需要在
ExpandableList
View
里面
brvah树状结构
默认
展开
第
一个
_BRVAH官方使用指南(持续更新)
www.recycler
view
.orgBRVAH是
一个
强大的RecyclerAdapter框架(什么是Recycler
View
?),它能节约开发者大量的开发时间,集成了大部分列表常用需求解决方案。为什么会有它?请查看「Android开源框架BRVAH由来篇」该框架于2016年4月10号发布的第1个版本到现在已经一年多了,经历了800多次代码提交,140多次版本打包,修复了1000多个问题,获得了...
android 监听
expandablelist
view
下滑,Android
ExpandableList
View
实现下拉刷新和加载更多效果...
支持下拉刷新和加载更多的
ExpandableList
View
,供大家参考,具体内容如下模拟器有点卡,滑动的时候鼠标不方便怎么用:XML中声明android:listSelector="@android:color/transparent"android:id="@+id/elv_coupon"android:layout_width="match_parent"android:layout_hei...
自定义
ExpandableList
View
以及实现其分页
我在网上找了很久也没看到类似百度贴吧评论以及再次评论的实例,但因为工作需要不得不写,经过研究自己写了
一个
例子供大家参考 自定义ExpandableListPage
View
实现分页效果 public class ExpandableListPage
View
extends
ExpandableList
View
implements OnScrollListener { // privat
Android
80,359
社区成员
91,290
社区内容
发帖
与我相关
我的任务
Android
移动平台 Android
复制链接
扫一扫
分享
社区描述
移动平台 Android
android
android-studio
androidx
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章