Most visited

Recently visited

Added in API level 1

TabHost.TabContentFactory

public static interface TabHost.TabContentFactory

android.widget.TabHost.TabContentFactory


选中时制作选项卡的内容。 如果您的标签内容需要按需创建,即不显示现有视图或开始活动,请使用此选项。

Summary

Public methods

abstract View createTabContent(String tag)

回调制作标签内容

Public methods

createTabContent

Added in API level 1
View createTabContent (String tag)

回调制作标签内容

Parameters
tag String: Which tab was selected.
Returns
View The view to display the contents of the selected tab.

Hooray!