Added in API level 23
Deprecated in API level 28

FragmentContainer

public abstract class FragmentContainer
extends Object

java.lang.Object
   ↳ android.app.FragmentContainer


This class was deprecated in API level 28.
Use the Support Library FragmentContainer.

Callbacks to a Fragment's container.

Summary

Public constructors

FragmentContainer()

Public methods

abstract <T extends View> T onFindViewById(int id)

Return the view with the given resource ID.

abstract boolean onHasView()

Return true if the container holds any view.

Inherited methods

Public constructors

FragmentContainer

public FragmentContainer ()

Public methods

onFindViewById

Added in API level 23
public abstract T 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
T

onHasView

Added in API level 23
public abstract boolean onHasView ()

Return true if the container holds any view.

Returns
boolean