Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit d4ad807b14ec7ef19d5f88f72e702536afe6b422
Author: Clara Fok <clarafok@google.com>
Date: Tue Aug 01 17:12:54 2023
Implement PredictiveBackHandler
A composable for handling predictive back gestures
Test: ./gradlew activity:activity-compose:cC
Bug: 294884345
Relnote: "A PredictiveBackHandler composable is added to handle gesture back events. It takes in an `onBack` lambda that is passed to the `OnBackPressedDispatcher` of the `LocalOnBackPressedDispatcherOwner`."
Change-Id: Id27732d3729a866399eea48c188995275c0f5255
M activity/activity-compose/api/current.txt
M activity/activity-compose/api/restricted_current.txt
M activity/activity-compose/samples/src/main/java/androidx/activity/compose/samples/BackHandlerSample.kt
A activity/activity-compose/src/androidTest/java/androidx/activity/compose/PredictiveBackHandlerTest.kt
A activity/activity-compose/src/main/java/androidx/activity/compose/PredictiveBackHandler.kt
https://android-review.googlesource.com/2690047
Branch: androidx-main
commit d4ad807b14ec7ef19d5f88f72e702536afe6b422
Author: Clara Fok <clarafok@google.com>
Date: Tue Aug 01 17:12:54 2023
Implement PredictiveBackHandler
A composable for handling predictive back gestures
Test: ./gradlew activity:activity-compose:cC
Bug: 294884345
Relnote: "A PredictiveBackHandler composable is added to handle gesture back events. It takes in an `onBack` lambda that is passed to the `OnBackPressedDispatcher` of the `LocalOnBackPressedDispatcherOwner`."
Change-Id: Id27732d3729a866399eea48c188995275c0f5255
M activity/activity-compose/api/current.txt
M activity/activity-compose/api/restricted_current.txt
M activity/activity-compose/samples/src/main/java/androidx/activity/compose/samples/BackHandlerSample.kt
A activity/activity-compose/src/androidTest/java/androidx/activity/compose/PredictiveBackHandlerTest.kt
A activity/activity-compose/src/main/java/androidx/activity/compose/PredictiveBackHandler.kt
jb...@google.com <jb...@google.com> #3
This has been fixed internally and will be available in the Activity 1.8.0-alpha07
release.
Description