Added in API level 23
Deprecated in API level 28

FragmentContainer

abstract class FragmentContainer
kotlin.Any
   ↳ android.app.FragmentContainer

Callbacks to a Fragment's container.

Summary

Public constructors

Public methods
abstract T?

Return the view with the given resource ID.

abstract Boolean

Return true if the container holds any view.

Public constructors

FragmentContainer

FragmentContainer()

Public methods

onFindViewById

Added in API level 23
abstract fun <T : View!> onFindViewById(id: Int): T?

Deprecated: Deprecated in Java.

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

onHasView

Added in API level 23
abstract fun onHasView(): Boolean

Deprecated: Deprecated in Java.

Return true if the container holds any view.