Compartilhar via


ActionBar.ITabListener.OnTabUnselected Method

Definition

Caution

deprecated

Called when a tab exits the selected state.

[Android.Runtime.Register("onTabUnselected", "(Landroid/app/ActionBar$Tab;Landroid/app/FragmentTransaction;)V", "GetOnTabUnselected_Landroid_app_ActionBar_Tab_Landroid_app_FragmentTransaction_Handler:Android.App.ActionBar/ITabListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnTabUnselected (Android.App.ActionBar.Tab? tab, Android.App.FragmentTransaction? ft);
[<Android.Runtime.Register("onTabUnselected", "(Landroid/app/ActionBar$Tab;Landroid/app/FragmentTransaction;)V", "GetOnTabUnselected_Landroid_app_ActionBar_Tab_Landroid_app_FragmentTransaction_Handler:Android.App.ActionBar/ITabListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnTabUnselected : Android.App.ActionBar.Tab * Android.App.FragmentTransaction -> unit

Parameters

tab
ActionBar.Tab

The tab that was unselected

ft
FragmentTransaction

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

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to