Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
Enums
ApplicationStage |
An enumeration of the lifecycle stages an application undergoes that can be monitored.
|
Stage |
An enumeration of the lifecycle stages an activity undergoes.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.test.runner.lifecycle\n==============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/test/runner/lifecycle/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|--------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|\n| [ActivityLifecycleCallback](/reference/androidx/test/runner/lifecycle/ActivityLifecycleCallback) | Callback for monitoring activity lifecycle events. |\n| [ActivityLifecycleMonitor](/reference/androidx/test/runner/lifecycle/ActivityLifecycleMonitor) | Interface for tests to use when they need to query the activity lifecycle state. |\n| [ApplicationLifecycleCallback](/reference/androidx/test/runner/lifecycle/ApplicationLifecycleCallback) | Callback for monitoring application lifecycle events. |\n| [ApplicationLifecycleMonitor](/reference/androidx/test/runner/lifecycle/ApplicationLifecycleMonitor) | Interface for tests to use when they need to be informed of the application lifecycle state. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| [ActivityLifecycleMonitorRegistry](/reference/androidx/test/runner/lifecycle/ActivityLifecycleMonitorRegistry) | An exposed registry instance to make it easy for callers to find the lifecycle monitor for their application. |\n| [ApplicationLifecycleMonitorRegistry](/reference/androidx/test/runner/lifecycle/ApplicationLifecycleMonitorRegistry) | An exposed registry instance to make it easy for callers to find the application lifecycle monitor for their application. |\n\nEnums\n-----\n\n|--------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|\n| [ApplicationStage](/reference/androidx/test/runner/lifecycle/ApplicationStage) | An enumeration of the lifecycle stages an application undergoes that can be monitored. |\n| [Stage](/reference/androidx/test/runner/lifecycle/Stage) | An enumeration of the lifecycle stages an activity undergoes. |"]]