如何从 ExpandableListView 获取 Child Item 的值?

我想在Android中获取创建自定义的 ExpandableListView,但是当我点击Child Item时,没有返回值。点击事件的代码如下:

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;
    }
});

为什么没有返回值呢?

使用 "getChildAtPosition"..方法试试呢。

楼主,怎么获取ExpandableListView子项与母项的内容的值