Most visited

Recently visited

Added in API level 23

FragmentContainer

public abstract class FragmentContainer
extends Object

java.lang.Object
   ↳ android.app.FragmentContainer
Known Direct Subclasses


回调到 Fragment的容器。

Summary

Public constructors

FragmentContainer()

Public methods

abstract View onFindViewById(int id)

使用给定的资源ID返回视图。

abstract boolean onHasView()

如果容器包含任何视图,则返回 true

Inherited methods

From class java.lang.Object

Public constructors

FragmentContainer

Added in API level 23
FragmentContainer ()

Public methods

onFindViewById

Added in API level 23
View onFindViewById (int id)

使用给定的资源ID返回视图。 如果视图不是此容器的子项,则可能返回null

Parameters
id int
Returns
View

onHasView

Added in API level 23
boolean onHasView ()

如果容器包含任何视图,则返回 true

Returns
boolean

Hooray!