Created
August 28, 2009 20:58
-
-
Save necronet/177239 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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