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

LazyStaggeredGridItemInfo

Information about layout state of individual item in lazy staggered grid.

Source set: Common
public sealed interface LazyStaggeredGridItemInfo

Information about layout state of individual item in lazy staggered grid.

Properties

offset

Source set: Common
public val offset: IntOffset

Relative offset from the start of the staggered grid.

index

Source set: Common
public val index: Int

Index of the item.

lane

Source set: Common
public val lane: Int

Column (for vertical staggered grids) or row (for horizontal staggered grids) that the item is in.

key

Source set: Common
public val key: Any

Key of the item passed in LazyStaggeredGridScope.items

size

Source set: Common
public val size: IntSize

Item size in pixels. If item contains multiple layouts, the size is calculated as a sum of their sizes.

contentType

Source set: Common
public val contentType: Any?

The content type of the item which was passed to the item() or items() function.