added in API level 23
Deprecated since 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

added in API level 23
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

This value may be null.

onHasView

added in API level 23
public abstract boolean onHasView ()

Return true if the container holds any view.

Returns
boolean