public static interface XTabLayout.OnTabSelectedListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onTabReselected(XTabLayout.Tab tab)
Called when a tab that is already selected is chosen again by the user.
|
void |
onTabSelected(XTabLayout.Tab tab)
Called when a tab enters the selected state.
|
void |
onTabUnselected(XTabLayout.Tab tab)
Called when a tab exits the selected state.
|
void onTabSelected(XTabLayout.Tab tab)
tab - The tab that was selectedvoid onTabUnselected(XTabLayout.Tab tab)
tab - The tab that was unselectedvoid onTabReselected(XTabLayout.Tab tab)
tab - The tab that was reselected.