Skip to content

Instantly share code, notes, and snippets.

@necronet
Created August 28, 2009 19:44
Show Gist options
  • Save necronet/177180 to your computer and use it in GitHub Desktop.
Save necronet/177180 to your computer and use it in GitHub Desktop.
@Override
public T getChild(int groupPosition, int childPosition) {
T value=mapList.get(getMapGroup(groupPosition)).get(childPosition);
return value;
}
@Override
public long getChildId(int groupPosition, int childPosition) {
return childPosition;
}
//Este metodo es de nosotros
protected T getMapGroup(int position){
T value=mapList.keySet().toArray()[position];
return value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment