Interface

LazyListPrefetchResultScope

A scope for LazyListPrefetchScope.schedulePrefetch callbacks.

Source set: Common
@Deprecated(
    "LazyListPrefetchResultScope is deprecated alongside LazyListPrefetchStrategy. " +
        "Prefetching behavior should be configured using LazyLayoutCacheWindow."
)
public sealed interface LazyListPrefetchResultScope

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

Properties

index

Source set: Common
public val index: Int

The index of the prefetched item

mainAxisSize

Source set: Common
public val mainAxisSize: Int

The main axis size in pixels of the prefetched item

Content updated: