Google 致力于为黑人社区推动种族平等。查看具体举措
added in version 1.1.0
belongs to Maven artifact android.arch.lifecycle:runtime:1.1.1
Deprecated since version 1.1.0

LifecycleRegistryOwner

public interface LifecycleRegistryOwner
implements LifecycleOwner

android.arch.lifecycle.LifecycleRegistryOwner


This interface was deprecated in API level 1.1.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 1.1.0
LifecycleRegistry getLifecycle ()

Returns the Lifecycle of the provider.

Returns
LifecycleRegistry The lifecycle of the provider.