compose-samples icon indicating copy to clipboard operation
compose-samples copied to clipboard

[JetLagged] Add custom usage of Predictive back to Jetlagged home screen sample.

Open riggaroo opened this issue 2 years ago • 1 comments

Add predictive back handling using PredictiveBackHandler from activity-compose. The gesture first shows the drawer in the case of the drawer being closed, when its open, it propagates the gesture back to the home gesture, which is enabled by setting android:enableOnBackInvokedCallback="true" in AndroidManifest.xml

https://github.com/android/compose-samples/assets/9973046/bc39217d-3314-4123-bf6b-0c0c19f09514

riggaroo avatar Sep 21 '23 15:09 riggaroo

This issue has been automatically marked as stale because it has not had any recent activity. Please comment here if it is still valid so that we can reprioritize it. Thank you for your contributions.

stale[bot] avatar Nov 21 '23 14:11 stale[bot]

This issue has been automatically marked as stale because it has not had any recent activity. Please comment here if it is still valid so that we can reprioritize it. Thank you for your contributions.

stale[bot] avatar Jan 20 '24 18:01 stale[bot]

riggaroo/jetlagged-predictive-back

muhammedheajneh avatar Jan 21 '24 04:01 muhammedheajneh

This issue has been automatically marked as stale because it has not had any recent activity. Please comment here if it is still valid so that we can reprioritize it. Thank you for your contributions.

stale[bot] avatar Mar 21 '24 04:03 stale[bot]