LazyListPrefetchResultScope

Interface

Common
@ExperimentalFoundationApi
sealed interface LazyListPrefetchResultScope

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

Properties

Common
val index: Int

The index of the prefetched item

Common
val mainAxisSize: Int

The main axis size in pixels of the prefetched item