Summary:
Methods
LifecycleOwner
public
interface
LifecycleOwner
androidx.lifecycle.LifecycleOwner |
Known indirect subclasses
AmbientModeSupport, AppCompatActivity, AppCompatDialogFragment, BaseLeanbackPreferenceFragmentCompat, BaseSupportFragment, BrandedSupportFragment, BrowseSupportFragment, DetailsSupportFragment, DialogFragment, EditTextPreferenceDialogFragmentCompat, ErrorSupportFragment, Fragment, and 28 others.
|
A class that has an Android lifecycle. These events can be used by custom components to handle lifecycle changes without implementing any code inside the Activity or the Fragment.
See also:
Summary
Public methods | |
---|---|
abstract
Lifecycle
|
getLifecycle()
Returns the Lifecycle of the provider. |