Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.activity\n=================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/activity/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FullyDrawnReporterOwner](/reference/androidx/activity/FullyDrawnReporterOwner) | A class that has a [FullyDrawnReporter](/reference/androidx/activity/FullyDrawnReporter) that allows you to have separate parts of the UI independently register when they have been fully loaded. |\n| [OnBackPressedDispatcherOwner](/reference/androidx/activity/OnBackPressedDispatcherOwner) | A class that has an [OnBackPressedDispatcher](/reference/androidx/activity/OnBackPressedDispatcher) that allows you to register a [OnBackPressedCallback](/reference/androidx/activity/OnBackPressedCallback) for handling the system back button. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ActivityViewModelLazyKt](/reference/androidx/activity/ActivityViewModelLazyKt) | |\n| [BackEventCompat](/reference/androidx/activity/BackEventCompat) | Compat around the [BackEvent](https://developer.android.com/reference/android/window/BackEvent.html) class |\n| [ComponentActivity](/reference/androidx/activity/ComponentActivity) | Base class for activities that enables composition of higher level components. |\n| [ComponentDialog](/reference/androidx/activity/ComponentDialog) | Base class for dialogs that enables composition of higher level components. |\n| [EdgeToEdge](/reference/androidx/activity/EdgeToEdge) | |\n| [FullyDrawnReporter](/reference/androidx/activity/FullyDrawnReporter) | Manages when to call [Activity.reportFullyDrawn](https://developer.android.com/reference/android/app/Activity.html#reportFullyDrawn()). |\n| [FullyDrawnReporterKt](/reference/androidx/activity/FullyDrawnReporterKt) | |\n| [OnBackPressedCallback](/reference/androidx/activity/OnBackPressedCallback) | Class for handling [OnBackPressedDispatcher.onBackPressed](/reference/androidx/activity/OnBackPressedDispatcher#onBackPressed()) callbacks without strongly coupling that implementation to a subclass of [ComponentActivity](/reference/androidx/activity/ComponentActivity). |\n| [OnBackPressedDispatcher](/reference/androidx/activity/OnBackPressedDispatcher) | Dispatcher that can be used to register [OnBackPressedCallback](/reference/androidx/activity/OnBackPressedCallback) instances for handling the [ComponentActivity.onBackPressed](/reference/androidx/activity/ComponentActivity#onBackPressed()) callback via composition. |\n| [OnBackPressedDispatcherKt](/reference/androidx/activity/OnBackPressedDispatcherKt) | |\n| [PipHintTrackerKt](/reference/androidx/activity/PipHintTrackerKt) | |\n| [SystemBarStyle](/reference/androidx/activity/SystemBarStyle) | The style for the status bar or the navigation bar used in [enableEdgeToEdge](/reference/androidx/activity/package-summary#(androidx.activity.ComponentActivity).enableEdgeToEdge(androidx.activity.SystemBarStyle,androidx.activity.SystemBarStyle)). |\n| [ViewTreeFullyDrawnReporterOwner](/reference/androidx/activity/ViewTreeFullyDrawnReporterOwner) | |\n| [ViewTreeOnBackPressedDispatcherOwner](/reference/androidx/activity/ViewTreeOnBackPressedDispatcherOwner) | |"]]