LazyGridPrefetchResultScope


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

Summary

Public functions

Int
getMainAxisSize(itemIndexInLine: Int)

This function is deprecated. LazyGridPrefetchResultScope is deprecated alongside LazyGridPrefetchStrategy.

Cmn

Public properties

Int

This property is deprecated. LazyGridPrefetchResultScope is deprecated alongside LazyGridPrefetchStrategy.

Cmn
Int

This property is deprecated. LazyGridPrefetchResultScope is deprecated alongside LazyGridPrefetchStrategy.

Cmn

Public functions

getMainAxisSize

fun getMainAxisSize(itemIndexInLine: Int): Int

Returns the main axis size in pixels of a prefecthed item in this line. itemIndexInLine is the item index from 0 to lineItemCount -1.

Public properties

lineIndex

val lineIndexInt

The index of the prefetched line

lineItemCount

val lineItemCountInt

The number of items in this prefetched line.