public static interface ParentViewHolder.ParentListItemExpandCollapseListener
ExpandableRecyclerAdapter
implementations to be notified of expand/collapse state change events.| Modifier and Type | Method and Description |
|---|---|
void |
onParentListItemCollapsed(int position)
Called when a list item is collapsed.
|
void |
onParentListItemExpanded(int position)
Called when a list item is expanded.
|
void onParentListItemExpanded(int position)
position - The index of the item in the list being expandedvoid onParentListItemCollapsed(int position)
position - The index of the item in the list being collapsed