Created
August 8, 2014 11:13
-
-
Save XinyueZ/fd30f58446b7ed2937ba to your computer and use it in GitHub Desktop.
Open Group directly for ExpandableListView
This file contains hidden or 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
| @Override | |
| public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) { | |
| View v = super.getGroupView(groupPosition, isExpanded, convertView, parent); | |
| ExpandableListView mExpandableListView = (ExpandableListView) parent; | |
| mExpandableListView.expandGroup(groupPosition); | |
| return v; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment