Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

LifecycleRegistryOwner

public interface LifecycleRegistryOwner
implements LifecycleOwner

androidx.lifecycle.LifecycleRegistryOwner


This interface is deprecated.
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

public abstract LifecycleRegistry getLifecycle ()

Returns the Lifecycle of the provider.

Returns
LifecycleRegistry The lifecycle of the provider.