Skip to content
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

Support PredictiveBackHandler #41

Open
Lisomatrix opened this issue Nov 25, 2024 · 2 comments
Open

Support PredictiveBackHandler #41

Lisomatrix opened this issue Nov 25, 2024 · 2 comments

Comments

@Lisomatrix
Copy link

This projects looks amazing, I'm thinking about using it to replace my own attempt.
Altough, I wonder if it would be possible to implement predictive back gesture animation.

@jvziyaoyao
Copy link
Owner

This projects looks amazing, I'm thinking about using it to replace my own attempt. Altough, I wonder if it would be possible to implement predictive back gesture animation.

Maybe you can use ImagePager to implement an animation like predictive back gesture?

@Lisomatrix
Copy link
Author

The final look I'm trying to achieve is similar to the video below. However, this current implementation does not work with swipe up or down to dismiss, and the predictive back animation when the image is zoomed fails to update the zoom and transform origin.

Would I be able to achieve this animation with ImagePager? The sample closer to this behavior is in the Transform Activity, however I was not able to find a good way to progressibly animate the closing with PreviewerState

Video.WhatsApp.2024-11-25.as.16.16.40_a771a432.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants