Skip to content

Instantly share code, notes, and snippets.

@necronet
Created August 28, 2009 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save necronet/177239 to your computer and use it in GitHub Desktop.
Save necronet/177239 to your computer and use it in GitHub Desktop.
//Vistas para el Grupo
@Override
public View getGroupView(int groupPosition, boolean isExpanded,View convertView, ViewGroup parent) {
TextView txtView = genericView();
String text=getGroup(groupPosition).toString();
txtView.setText(text);
return txtView;
}
//Vistas para el Child
@Override
public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) {
TextView txtView = genericView();
String txt=getChild(groupPosition, childPosition).toString();
txtView.setText(text);
return txtView;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment