Interface

LazyListPrefetchResultScope

A scope for LazyListPrefetchScope.schedulePrefetch callbacks.

Source set: Common
@ExperimentalFoundationApi
sealed interface LazyListPrefetchResultScope

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

Properties

index

Source set: Common
val index: Int

The index of the prefetched item

mainAxisSize

Source set: Common
val mainAxisSize: Int

The main axis size in pixels of the prefetched item

Last updated: