我想在 android 中创建自定义可扩展列表视图,但是当我点击孩子时,没有找到任何值,并且我的点击事件如下所示:
mExpandableListView.setOnChildClickListener(new OnChildClickListener() {
@Override
public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id) {
Toast.makeText(getBaseContext(), "Child clicked",
Toast.LENGTH_SHORT).show();
return true;
}
});
有谁知道?请帮助提前致谢