LifecycleOwner


public interface LifecycleOwner

Known direct subclasses
ActivityHolder

A holder for the Activity created for SDK.

ComponentActivity

Base class for activities that enables composition of higher level components.

ComponentDialog

Base class for dialogs that enables composition of higher level components.

Fragment

Static library support version of the framework's android.app.Fragment.

InCallServiceCompat

This class defines the Jetpack InCallService with the additional ability of defining a LifecycleOwner

LifecycleRegistryOwner

This interface is deprecated.

Use androidx.appcompat.app.AppCompatActivity which extends LifecycleOwner, so there are no use cases for this class.

LifecycleService

A Service that is also a LifecycleOwner.

NavBackStackEntry

Representation of an entry in the back stack of a androidx.navigation.NavController.

OnBackPressedDispatcherOwner

A class that has an OnBackPressedDispatcher that allows you to register a OnBackPressedCallback for handling the system back button.

ProcessLifecycleOwner

Class that provides lifecycle for the whole application process.

<code translate="no