ScalingLazyListAnchorType

ScalingLazyListAnchorType

Class

Android

Deprecated Was moved to androidx.wear.compose.foundation.lazy package. Please use it instead

public value class ScalingLazyListAnchorType internal constructor(internal val type: Int)

Companion Object

Properties

Android
public val ItemCenter: ScalingLazyListAnchorType

Place the center of the item on (or as close to) the center line of the viewport

Android
public val ItemStart: ScalingLazyListAnchorType

Place the start (edge) of the item on, or as close to as possible, the center line of the viewport. For normal layout this will be the top edge of the item, for reverseLayout it will be the bottom edge.