onTabSelected

Called when a tab enters the selected state.

Parameters

tab

The tab that was selected

ft

A FragmentTransaction for queuing fragment operations to execute during a tab switch. The previous tab's unselect and this tab's select will be executed in a single transaction. This FragmentTransaction does not support being added to the back stack.