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

LazyLayoutPrefetchState.PrefetchResultScope

A scope for schedulePrecompositionAndPremeasure callbacks.

Source set: Common
public sealed interface PrefetchResultScope

A scope for schedulePrecompositionAndPremeasure callbacks. The scope provides additional information about a prefetched item.

Properties

placeablesCount

Source set: Common
public val placeablesCount: Int

The amount of placeables composed into this item.

index

Source set: Common
public val index: Int

The index of the prefetched item.

Functions

getSize

Source set: Common
public fun getSize(@IntRange(from = 0) placeableIndex: Int): IntSize

Retrieves the latest measured size for a given placeable placeableIndex in pixels.