Common
sealed interface PrefetchResultScope
A scope for schedulePrecompositionAndPremeasure callbacks. The scope provides additional information about a prefetched item.
Properties
Common
val placeablesCount: Int
The amount of placeables composed into this item.
Common
val index: Int
The index of the prefetched item.
Functions
getSize
fun getSize(@IntRange(from = 0) placeableIndex: Int): IntSize
Retrieves the latest measured size for a given placeable placeableIndex in pixels.