public static interface

ScrollingTabWidget.OnTabSelectionChangedListener

com.android.contacts.ScrollingTabWidget.OnTabSelectionChangedListener

Summary

Public Methods
abstract void onTabSelectionChanged(int tabIndex, boolean clicked)
Informs the tab widget host which tab was selected.

Public Methods

public abstract void onTabSelectionChanged (int tabIndex, boolean clicked)

Informs the tab widget host 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 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.