Build 1.0_r1(from source)

Interface TabWidget.OnTabSelectionChanged

Enclosing class:

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.

Method Detail


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.

tabIndex - index of the tab that was selected
clicked - 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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature