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


Callbacks to a Fragment's container.

Summary

Public constructors

FragmentContainer()

Public methods

abstract View onFindViewById(int id)

Return the view with the given resource ID.

abstract boolean onHasView()

Return true if the container holds any view.

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)

Return the view with the given resource ID. May return null if the view is not a child of this container.

Parameters
id int
Returns
View

onHasView

Added in API level 23
boolean onHasView ()

Return true if the container holds any view.

Returns
boolean