Join Slack
Powered by
How can one get this snapping behavior on horizont...
# compose
a
alexhelder
11/13/2025, 1:07 AM
How can one get this snapping behavior on horizontal scroll (LazyRow?) as shown in this video, like
LinearSnapHelper
for
RecyclerView
(solved)
carousel.mp4
alexhelder
11/13/2025, 1:20 AM
I did find this, but its 4+ years old …
https://stackoverflow.com/questions/68882038/jetpack-compose-lazyrow-scroll-with-snap-only-to-start-of-next-or-previous-eleme
alexhelder
11/13/2025, 6:06 AM
It turned out to be pretty easy, I will leave this here in case anyone finds it useful
https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/snapping/SnapPosition.Start
👏🏽 1
🙌 1
👏 3
112
Views
Open in Slack
Previous
Next