public static interface TabHost.TabContentFactory
| android.widget.TabHost.TabContentFactory |
选中时制作选项卡的内容。 如果您的标签内容需要按需创建,即不显示现有视图或开始活动,请使用此选项。
Public methods |
|
|---|---|
abstract View |
createTabContent(String tag) 回调制作标签内容 |
View createTabContent (String tag)
回调制作标签内容
| Parameters | |
|---|---|
tag |
String: Which tab was selected. |
| Returns | |
|---|---|
View |
The view to display the contents of the selected tab. |