We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e1c44 commit 9e64a1fCopy full SHA for 9e64a1f
docs/components/Carousel.md
@@ -116,6 +116,13 @@ container.
116
You can use the multi-browse strategy by passing in no arguments to the
117
CarouselLayoutManager constructor: `CarouselLayoutManager()`.
118
119
+With the multi-browse strategy, it is recommended to use the `CarouselSnapHelper` to snap to the nearest item like so:
120
+
121
+```kt
122
+val snapHelper = CarouselSnapHelper()
123
+snapHelper.attachToRecyclerView(carouselRecyclerView)
124
+```
125
126
## Hero strategy
127
128

0 commit comments