Compartilhar via


TabHost.ITabContentFactory.CreateTabContent(String) Method

Definition

Callback to make the tab contents

[Android.Runtime.Register("createTabContent", "(Ljava/lang/String;)Landroid/view/View;", "GetCreateTabContent_Ljava_lang_String_Handler:Android.Widget.TabHost/ITabContentFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.View? CreateTabContent (string? tag);
[<Android.Runtime.Register("createTabContent", "(Ljava/lang/String;)Landroid/view/View;", "GetCreateTabContent_Ljava_lang_String_Handler:Android.Widget.TabHost/ITabContentFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CreateTabContent : string -> Android.Views.View

Parameters

tag
String

Which tab was selected.

Returns

The view to display the contents of the selected tab.

Attributes

Remarks

Callback to make the tab contents

Java documentation for android.widget.TabHost.TabContentFactory.createTabContent(java.lang.String).

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