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

VerticalScrollMode.SnapScrollMatchHeight

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

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.

Content updated: