android.widget
Interface TabWidget.OnTabSelectionChanged
- Enclosing class:
- TabWidget
static interface TabWidget.OnTabSelectionChanged
Let TabHost know that the user clicked on a tab indicator.
|
Method Summary |
void |
onTabSelectionChanged(int tabIndex,
boolean clicked)
Informs the TabHost which tab was selected. |
onTabSelectionChanged
void onTabSelectionChanged(int tabIndex,
boolean clicked)
- Informs the TabHost which tab was selected. It also indicates
if the tab was clicked/pressed or just focused into.
- Parameters:
tabIndex - index of the tab that was selectedclicked - whether the selection changed due to a touch/click
or due to focus entering the tab through navigation. Pass true
if it was due to a press/click and false otherwise.
Please submit a feedback, bug or feature