{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LifecycleRegistryOwner

public interface LifecycleRegistryOwner extends LifecycleOwner


Summary

Public methods

abstract @NonNull LifecycleRegistry

Returns the Lifecycle of the provider.

Public methods

getLifecycle

abstract @NonNull LifecycleRegistry getLifecycle()

Returns the Lifecycle of the provider.

Returns
@NonNull LifecycleRegistry

The lifecycle of the provider.