public static class BottomNavigationBar.SimpleOnTabSelectedListener extends java.lang.Object implements BottomNavigationBar.OnTabSelectedListener
| Constructor and Description |
|---|
SimpleOnTabSelectedListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onTabReselected(int position)
Called when a tab that is already selected is chosen again by the user.
|
void |
onTabSelected(int position)
Called when a tab enters the selected state.
|
void |
onTabUnselected(int position)
Called when a tab exits the selected state.
|
public void onTabSelected(int position)
BottomNavigationBar.OnTabSelectedListeneronTabSelected in interface BottomNavigationBar.OnTabSelectedListenerposition - The position of the tab that was selectedpublic void onTabUnselected(int position)
BottomNavigationBar.OnTabSelectedListeneronTabUnselected in interface BottomNavigationBar.OnTabSelectedListenerposition - The position of the tab that was unselectedpublic void onTabReselected(int position)
BottomNavigationBar.OnTabSelectedListeneronTabReselected in interface BottomNavigationBar.OnTabSelectedListenerposition - The position of the tab that was reselected.