共用方式為


ActionBar.Tab.SetTabListener(ActionBar+ITabListener) Method

Definition

Caution

deprecated

Set the T:Android.App.ActionBar+ITabListener that will handle switching to and from this tab.

[Android.Runtime.Register("setTabListener", "(Landroid/app/ActionBar$TabListener;)Landroid/app/ActionBar$Tab;", "GetSetTabListener_Landroid_app_ActionBar_TabListener_Handler")]
[System.Obsolete("deprecated")]
public abstract Android.App.ActionBar.Tab SetTabListener (Android.App.ActionBar.ITabListener listener);
[<Android.Runtime.Register("setTabListener", "(Landroid/app/ActionBar$TabListener;)Landroid/app/ActionBar$Tab;", "GetSetTabListener_Landroid_app_ActionBar_TabListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetTabListener : Android.App.ActionBar.ITabListener -> Android.App.ActionBar.Tab

Parameters

listener
ActionBar.ITabListener

Listener to handle tab selection events

Returns

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