public static interface TabList.TabSelectedListener
This interface must be associated with a TabList before being implemented to
process tab selected events. You can associate multiple TabSelectedListener
listeners to a TabList.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onReselected(TabList.Tab tab) |
Called back when a tab is reselected.
|
void |
onSelected(TabList.Tab tab) |
Called back when a tab is selected.
|
void |
onUnselected(TabList.Tab tab) |
Called back when a tab is deselected.
|
void onSelected(TabList.Tab tab)
When a tab is selected, all the TabSelectedListener listeners
associated with the TabList will be invoked.
tab - Indicates the selected tab.void onUnselected(TabList.Tab tab)
When a tab is deselected, all the TabSelectedListener listeners
associated with the TabList will be invoked.
tab - Indicates the deselected tab.void onReselected(TabList.Tab tab)
When a tab is reselected, all the TabSelectedListener listeners
associated with the TabList will be invoked.
tab - Indicates the reselected tab.