Since: API Level 2.5
public static interface

ScrollableTabWidget.OnTabSelectionChangedListener

com.droidux.pack.commons.widget.tabs.ScrollableTabWidget.OnTabSelectionChangedListener

Class Overview

Let TabHost know that the user clicked on a tab indicator.

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)

Since: API Level 2.5

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.