您的位置:首页 > 移动开发 > Android开发

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;
}
});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: