---
title: "LazyGridPrefetchResultScope"
description: "A scope for [LazyGridPrefetchScope.scheduleLinePrefetch] callbacks. The scope provides additional
information about a prefetched item."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
@ExperimentalFoundationApi
sealed interface LazyGridPrefetchResultScope
```


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


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val lineItemCount: Int
```


The number of items in this prefetched line.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val lineIndex: Int
```


The index of the prefetched line



## Functions

```kotlin
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.



