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

Deprecated "dev.chrisbanes.snapper:snapper" should be replaced by SnapFlingBehavior. #10

Open
petros-chariskos opened this issue Nov 28, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@petros-chariskos
Copy link

From [https://github.com/chrisbanes/snapper]
Snapper is now deprecated, due to it's functionality being replaced by SnapFlingBehavior which is available in Jetpack Compose 1.3.0.

@petros-chariskos petros-chariskos changed the title Deprecated "dev.chrisbanes.snapper:snapper" should be replaced by by SnapFlingBehavior. Deprecated "dev.chrisbanes.snapper:snapper" should be replaced by SnapFlingBehavior. Nov 28, 2022
@commandiron commandiron added the enhancement New feature or request label Nov 29, 2022
@commandiron
Copy link
Owner

hi, thanks for your contribution. I checked SnapFlingBehavior available in Jetpack Compose and cant find like SnapperLayoutInfo function. This function allow calcution of snapped index and animations. I'm open to suggestions on this for calculate same outputs. Thanks again.

@boy12hoody
Copy link

how about changes made in Version 1.5.0-alpha04 in foundation?, do they help with that?

@SimonLauron
Copy link

There is SnapLayoutInfoProvider, but it works with velocity

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

No branches or pull requests

4 participants