added in API level 23
Deprecated since API level P

FragmentContainer

public abstract class FragmentContainer
extends Object

java.lang.Object
   ↳ android.app.FragmentContainer


This class was deprecated in API level P.
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
FragmentContainer ()

Public methods

onFindViewById

added in API level 23
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
boolean onHasView ()

Return true if the container holds any view.

Returns
boolean