public static interface ExpandableRecyclerAdapter.ExpandCollapseListener
Implement this in your Activity or Fragment
to receive these callbacks.
| Modifier and Type | Method and Description |
|---|---|
void |
onListItemCollapsed(int position)
Called when a list item is collapsed.
|
void |
onListItemExpanded(int position)
Called when a list item is expanded.
|
void onListItemExpanded(int position)
position - The index of the item in the list being expandedvoid onListItemCollapsed(int position)
position - The index of the item in the list being collapsed