added in version 2.0.0
belongs to Maven artifact androidx.lifecycle:lifecycle-runtime:2.0.0-beta01
Deprecated since version 2.0.0

LifecycleRegistryOwner

public interface LifecycleRegistryOwner
implements LifecycleOwner

androidx.lifecycle.LifecycleRegistryOwner


This interface was deprecated in API level 2.0.0.
Use android.support.v7.app.AppCompatActivity which extends LifecycleOwner, so there are no use cases for this class.

Summary

Public methods

abstract LifecycleRegistry getLifecycle()

Returns the Lifecycle of the provider.

Inherited methods

Public methods

getLifecycle

added in version 2.0.0
public abstract LifecycleRegistry getLifecycle ()

Returns the Lifecycle of the provider.

Returns
LifecycleRegistry The lifecycle of the provider.