public static interface TransportModePanel.OnSelectedListener
Modifier and Type | Method and Description |
---|---|
default void |
onReselected(int index,
TabView button)
Called when a tab is re-selected.
|
void |
onSelected(int index,
TabView button)
Called when a tab is selected.
|
default void |
onUnselected(int index,
TabView button)
Called when a tab exits the selected state.
|
void onSelected(int index, TabView button)
index
- position of selected tab.button
- The tab that was selecteddefault void onUnselected(int index, TabView button)
index
- the position of the selected tab.button
- the tab that was unselected.default void onReselected(int index, TabView button)
index
- position of selected tab.button
- The tab that was selected.