// If you'd like to customize either the snap behavior or the layout provider
val snappingLayout = remember(state) { SnapLayoutInfoProvider(state) }
val flingBehavior = rememberSnapFlingBehavior(snappingLayout)
I believe you can implement a
SnapLayoutInfoProvider
that only provides snap points for the headers
k
KamilH
12/05/2022, 9:43 AM
Right, somehow, I missed that part. Thanks
d
Daniele Segato
12/05/2022, 9:44 AM
I'd look at how the default SnapLayoutInfoProvider works and just modify it to do what it does on headers 😄