public static interface TabLayout.OnTabSelectedListener
Modifier and Type | Method and Description |
---|---|
void |
onTabReselected(TabLayout.Tab tab)
Called when a tab that is already selected is chosen again by the user.
|
void |
onTabSelected(TabLayout.Tab tab)
Called when a tab enters the selected state.
|
void |
onTabUnselected(TabLayout.Tab tab)
Called when a tab exits the selected state.
|
void onTabSelected(TabLayout.Tab tab)
tab
- The tab that was selectedvoid onTabUnselected(TabLayout.Tab tab)
tab
- The tab that was unselectedvoid onTabReselected(TabLayout.Tab tab)
tab
- The tab that was reselected.