![]() ![]() The equivalent APIs on OnBackPressedDispatcher have also been updated. Breaking change: The handleOnBackStarted and handleOnBackProgressed methods of OnBackPressedCallback now receive an instance rather than a framework class.Activity now provides a BackEventCompat class that serves as a backward compatible version of BackEvent that is decoupled from the framework BackEvent class.Note: This version will only compile against the Android 14 (Upside Down Cake) Beta 1 SDK or higher. This version is developed in an internal branch. When passing to to the enableEdgeToEdge API, you can now override the detectDarkMode lambda parameter to provide custom logic for detecting night mode.The OnBackPressedDispatcher now correctly cancels any callbacks that are removed during a Predictive Back Gesture.Version 1.8.0-alpha06 contains these commits. Version 1.8 Version 1.8.0-alpha06Īndroidx.activity:activity:1.8.0-alpha06, androidx.activity:activity-compose:1.8.0-alpha06, and androidx.activity:activity-ktx:1.8.0-alpha06 are released. You can add your vote to an existing issue byįor more information. In this library before you create a new one. Let us know if you discover new issues or have Implementation("androidx.activity:activity-ktx:$activity_version")įor more information about dependencies, see Add build dependencies. Implementation("androidx.activity:activity:$activity_version") Implementation "androidx.activity:activity-ktx:$activity_version" Implementation "androidx.activity:activity:$activity_version" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |