LazyLayoutPrefetchState.LazyLayoutPrefetchResultScope


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

Summary

Public functions

IntSize
getSize(placeableIndex: Int)

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

Cmn

Public properties

Int

The index of the prefetched item.

Cmn
Int

The amount of placeables composed into this item.

Cmn

Public functions

getSize

fun getSize(placeableIndex: Int): IntSize

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

Public properties

index

val indexInt

The index of the prefetched item.

placeablesCount

val placeablesCountInt

The amount of placeables composed into this item.