Join Slack
Powered by
On iOS UIScrollView has an isPagingEnabled where i...
# compose
t
tylerwilson
11/09/2023, 10:15 PM
On iOS UIScrollView has an isPagingEnabled where it will snap to the nearest 'page size'. Does Compose UI have anything similar, or perhaps somebody has written a modifier to do such a thing? Thanks!
e
ephemient
11/09/2023, 10:18 PM
https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/snapping/SnapFlingBehavior
and other helper functions in that package
t
tylerwilson
11/09/2023, 10:22 PM
Sweet. I will check that out, thanks!
Open in Slack
Previous
Next