android 为ExpandableListView中child设置监听器
2015-01-28 10:14
393 查看
ExpandableListView mExpandableListView = (ExpandableListView) findViewById(R.id.expandableListView1); mExpandableListView.setOnChildClickListener(new OnChildClickListener() { @Override public boolean onChildClick(ExpandableListView parent, View v, int groupPosition, int childPosition, long id) { //TODO Toast.makeText(list.this, "byebyeworld", 1).show(); return true; } });
相关文章推荐
- ExpandableListView设置选中child的背景
- Android ListView与ExpandableListView设置分割线divider
- Android布局问题--ExpandableListView的ChildView布局不能居中的问题
- android初学之如何去除ExpandableListView的child之间的黑色分割线
- android ExpandableListView 设置所有子条目单选
- android ExpandableListView 为Group与Child添加菜单
- [Android]ExpandableListView 在适配器中isChildSelectable方法返回了true,子目录点击仍然无响应解决方法
- ExpandableListView group和child的item间距设置以及多种布局等问题的解决
- Android ExpandableListView group的item有间距child间隔不变
- android ExpandableListView setOnChildClickListener事件失效问题
- 【Android开发入门】关于ListView中按钮监听器设置的解决方案
- android ExpandableListView position - packPostion - group/childposition
- android去掉ExpandableListView的group中的child的默认边框
- Android中ExpandableListView的使用
- Android ExpandableListView的使用
- android-ExpandableListView(2)
- ExpandableListView设置每次只打开一个Group
- android 关于ExpandableListView的一个问题解决
- Android中的ExpandableListView
- ExpandableListView 功能界面布局探究之三(没有child的下拉列表,group不展开的实现)