conference-app-2024
conference-app-2024 copied to clipboard
Prevent multiple transitions
OverVIew
I thought it would be good if it could be prevented because tapping the transitionable buttons at the same time causes a transition to each screen.
https://github.com/user-attachments/assets/dc5cbc8e-b9b0-4d1c-892c-5bbd9338f492
Ref
- I think that this can be somewhat easily prevented by using
dropUnlessResumed
inandroidx.lifecycle:lifecycle-runtime-compose
.- https://developer.android.com/reference/kotlin/androidx/lifecycle/compose/package-summary#dropUnlessResumed(androidx.lifecycle.LifecycleOwner,kotlin.Function0)