-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Compose] Multiple transitions onSwipe #834
Comments
We currently don't have multi-state swipe transitions. It's a planned feature but not ready yet. Right now the only option is to drive it with a It's a bit tricky since you have to adjust the progress from the I'll try to upload an example here to give you an idea. Tho there seems to be an issue with the implementation of |
Here's an example. Tho as I said, if you pay attention you might notice some issues from the
|
Thanks for your help! I've tried an example you have provided, but ran into |
Probably just need to update the compose runtime dependency, try 1.5.0-beta03. You might have to update the kotlin version and possibly the Android Gradle Plugin too, the one applied to |
Is it possible to define multiple default transitions? I have a card that requires swipe gestures both to the right and left, each with distinct transitions. However, I currently can only apply a single default transition.
I'm using androidx.constraintlayout:constraintlayout-compose:1.1.0-alpha10
The text was updated successfully, but these errors were encountered: