I am working on a project with parsing JSON from url to ExpandableListView. Depending on the \"status\" tag value (active or pending) , will be placing records accordingly to to
You have to use Adapter's getChild(groupPosition, childPosition)
method to retrieve the instance of child and the cast it to your Map and get it working.
@Override
public boolean onChildClick(ExpandableListView parent, View v,
int groupPosition, int childPosition, long id) {
Toast.makeText(this, (String)((Map)
adapter.getChild(groupPosition, childPosition)).get("lalit"),
Toast.LENGTH_LONG).show();
return super.onChildClick(parent, v, groupPosition, childPosition, id);
}