public static interface BottomNavigationBar.OnTabSelectedListener
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
void onTabSelected(int position)
position - The position of the tab that was selectedvoid onTabUnselected(int position)
position - The position of the tab that was unselectedvoid onTabReselected(int position)
position - The position of the tab that was reselected.