public static class BottomNavigationBar.SimpleOnTabSelectedListener extends Object implements BottomNavigationBar.OnTabSelectedListener
| 构造器和说明 |
|---|
SimpleOnTabSelectedListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
onTabSelected 在接口中 BottomNavigationBar.OnTabSelectedListenerposition - The position of the tab that was selectedpublic void onTabUnselected(int position)
onTabUnselected 在接口中 BottomNavigationBar.OnTabSelectedListenerposition - The position of the tab that was unselectedpublic void onTabReselected(int position)
onTabReselected 在接口中 BottomNavigationBar.OnTabSelectedListenerposition - The position of the tab that was reselected.