ActionBar.TabListener
interface ActionBar.TabListener
Callback interface invoked when a tab is focused, unfocused, added, or removed.
Summary
Public functions |
|
|---|---|
Unit |
Called when a tab that is already selected is chosen again by the user. |
Unit |
Called when a tab enters the selected state. |
Unit |
Called when a tab exits the selected state. |
Public functions
funonTabReselected(tab: ActionBar.Tab!, ft: FragmentTransaction!): Unit
Called when a tab that is already selected is chosen again by the user. Some applications may use this action to return to the top level of a category.
| Parameters | |
|---|---|
tab: ActionBar.Tab! |
The tab that was reselected. |
ft: FragmentTransaction! |
A |
funonTabSelected(tab: ActionBar.Tab!, ft: FragmentTransaction!): Unit
Called when a tab enters the selected state.
| Parameters | |
|---|---|
tab: ActionBar.Tab! |
The tab that was selected |
ft: FragmentTransaction! |
A |
funonTabUnselected(tab: ActionBar.Tab!, ft: FragmentTransaction!): Unit
Called when a tab exits the selected state.
| Parameters | |
|---|---|
tab: ActionBar.Tab! |
The tab that was unselected |
ft: FragmentTransaction! |
A |