🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

VerticalScrollMode

Defines what sort of vertical scrolling behavior is used by LazyColumn.

Source set: Android
public sealed interface VerticalScrollMode

Defines what sort of vertical scrolling behavior is used by LazyColumn. On Api 36+, snap scrolling is available.

Members

Normal

Source set: Android
public object Normal : VerticalScrollMode

The default LazyColumn behavior: standard scrolling.

SnapScrollMatchHeight

Source set: Android
public class SnapScrollMatchHeight(public val initialChildHeight: Dp) : VerticalScrollMode

Items will snap into place and match the height of the parent view.

Parameters

initialChildHeight How large to make a child. This value is used before a measure pass has been run. The container will always try to make the child match its height. Pass in the intended height of the parent container here.