Compartir a través de


TabHost.SetOnTabChangedListener(TabHost+IOnTabChangeListener) Method

Definition

Register a callback to be invoked when the selected state of any of the items in this list changes

[Android.Runtime.Register("setOnTabChangedListener", "(Landroid/widget/TabHost$OnTabChangeListener;)V", "GetSetOnTabChangedListener_Landroid_widget_TabHost_OnTabChangeListener_Handler")]
public virtual void SetOnTabChangedListener (Android.Widget.TabHost.IOnTabChangeListener? l);
[<Android.Runtime.Register("setOnTabChangedListener", "(Landroid/widget/TabHost$OnTabChangeListener;)V", "GetSetOnTabChangedListener_Landroid_widget_TabHost_OnTabChangeListener_Handler")>]
abstract member SetOnTabChangedListener : Android.Widget.TabHost.IOnTabChangeListener -> unit
override this.SetOnTabChangedListener : Android.Widget.TabHost.IOnTabChangeListener -> unit

Parameters

l
TabHost.IOnTabChangeListener

The callback that will run

Attributes

Remarks

Java documentation for android.widget.TabHost.setOnTabChangedListener(android.widget.OnTabChangeListener).

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