remember Lazy List Snapper Layout Info
fun rememberLazyListSnapperLayoutInfo( lazyListState: LazyListState, snapOffsetForItem: (layoutInfo: SnapperLayoutInfo, item: SnapperLayoutItemInfo) -> Int = SnapOffsets.Center, endContentPadding: Dp = 0.dp): LazyListSnapperLayoutInfo
Content copied to clipboard
Create and remember a SnapperLayoutInfo which works with LazyListState.
Parameters
lazy List State
The LazyListState to update.
snap Offset For Item
Block which returns which offset the given item should 'snap' to. See SnapOffsets for provided values.
end Content Padding
The amount of content padding on the end edge of the lazy list in dps (end/bottom depending on the scrolling direction).