ExpandableListView 判断是否展开
来源:互联网 发布:网络外宣是什么 编辑:程序博客网 时间:2024/04/27 20:28
@Overridepublic View getGroupView(int i, boolean b, View view, ViewGroup viewGroup) { if (view == null) { LayoutInflater inflater = (LayoutInflater) mContent.getSystemService(Context.LAYOUT_INFLATER_SERVICE); view = inflater.inflate(R.layout.parent_item, null); } view.setTag(R.layout.parent_item, i); view.setTag(R.layout.child_item, -1); TextView textView = (TextView) view.findViewById(R.id.tv_grade); textView.setText(data.get(i).getGradeName()); FrameLayout frameLayout = (FrameLayout) view.findViewById(R.id.flayout); if (b){ frameLayout.setBackgroundResource(R.drawable.controls_tableview_groupbackground_expand); }else{ frameLayout.setBackgroundResource(R.drawable.controls_tableview_groupbackground_collapse); } return view;}
阅读全文
0 0
- ExpandableListView 判断是否展开
- android expandablelistview 判断是否展开
- EASYUI layout 判断某个panel是否展开
- 【Android】ExpandableListView 默认展开
- ExpandableListView 默认展开
- ExpandableListView 设置默认展开
- ExpandableListView展开所有Group
- ExpandableListView设置自动展开
- android ExpandableListView 默认展开
- android expandablelistview 展开动画
- ExpandableListView 二级展开列表
- ExpandableListView 默认展开
- ExpandableListView无法展开
- 【ExpandableListView】ExpandableListView互斥展开效果
- 【ExpandableListView】ExpandableListView互斥展开效果
- 【ExpandableListView】ExpandableListView互斥展开效果
- 【ExpandableListView】ExpandableListView互斥展开效果
- ExpandableListView只展开一个Group
- js自动补全功能(比我之前写过那一篇的好一点)
- 如何下载谷歌矢量高程等高线
- HEVC代码学习14:motionCompensation函数
- Jquery多选框全选功能示例
- MVC设计模式之简单用户管理系统
- ExpandableListView 判断是否展开
- JavaScript和jQuery的总结
- WPF--火车后台管理系统分析(二)
- mybatis中的#和$的区别
- android隐藏/显示键盘
- windows 下 gvim 使用 总结:环境搭建
- 人工智能的高地——情感计算
- 安卓开发需要了解的二三事(自译)
- PHPCMS中更改网站后台标题(title)