Example usage for Java android.widget ExpandableListView fields, constructors, methods, implement or subclass
The text is from its open source code.
int | PACKED_POSITION_TYPE_GROUP The packed position represents a group. |
int | PACKED_POSITION_TYPE_CHILD The packed position represents a child. |
int | PACKED_POSITION_TYPE_NULL The packed position represents a neither/null/no preference. |
long | PACKED_POSITION_VALUE_NULL The value for a packed position that represents neither/null/no preference. |
boolean | collapseGroup(int groupPos) Collapse a group in the grouped list view |
boolean | expandGroup(int groupPos) Expand a group in the grouped list view |
boolean | expandGroup(int groupPos, boolean animate) Expand a group in the grouped list view |
ListAdapter | getAdapter() This method should not be used, use #getExpandableListAdapter() . |
ExpandableListAdapter | getExpandableListAdapter() Gets the adapter that provides data to this view. |
long | getExpandableListPosition(int flatListPosition) Converts a flat list position (the raw position of an item (child or group) in the list) to a group and/or child position (represented in a packed position). |
int | getFlatListPosition(long packedPosition) Converts a group and/or child position to a flat list position. |
int | getPackedPositionChild(long packedPosition) Gets the child position from a packed position that is of #PACKED_POSITION_TYPE_CHILD type (use #getPackedPositionType(long) ). |
long | getPackedPositionForChild(int groupPosition, int childPosition) Returns the packed position representation of a child's position. |
long | getPackedPositionForGroup(int groupPosition) Returns the packed position representation of a group's position. |
int | getPackedPositionGroup(long packedPosition) Gets the group position from a packed position. |
int | getPackedPositionType(long packedPosition) Gets the type of a packed position. |
boolean | isGroupExpanded(int groupPosition) Whether the given group is currently expanded. |
void | setAdapter(ListAdapter adapter) This overloaded method should not be used, instead use #setAdapter(ExpandableListAdapter) . |
void | setAdapter(ExpandableListAdapter adapter) Sets the adapter that provides data to this view. |
void | setGroupIndicator(Drawable groupIndicator) Sets the indicator to be drawn next to a group. |
void | setOnChildClickListener(OnChildClickListener onChildClickListener) |
void | setOnGroupClickListener(OnGroupClickListener onGroupClickListener) |
void | setOnGroupCollapseListener(OnGroupCollapseListener onGroupCollapseListener) |
void | setOnGroupExpandListener(OnGroupExpandListener onGroupExpandListener) |
boolean | setSelectedChild(int groupPosition, int childPosition, boolean shouldExpandGroup) Sets the selection to the specified child. |
void | setSelectedGroup(int groupPosition) Sets the selection to the specified group. |