# LazyListPrefetchResultScope

Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/lazy/LazyListPrefetchStrategy.kt+class:androidx.compose.foundation.lazy.LazyListPrefetchResultScope) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.9.0) Deprecated in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01) Common/All
- Cmn

  ```
  @ExperimentalFoundationApi
  sealed interface LazyListPrefetchResultScope
  ```

*** ** * ** ***

> [!CAUTION]
> **This interface is deprecated.**   
> LazyListPrefetchResultScope is deprecated alongside LazyListPrefetchStrategy. Prefetching behavior should be configured using LazyLayoutCacheWindow.

A scope for `https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListPrefetchScope#schedulePrefetch(kotlin.Int,kotlin.Function1)` callbacks. The scope provides additional information about a prefetched item.

## Summary

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListPrefetchResultScope#index()` **This property is deprecated.** LazyListPrefetchResultScope is deprecated alongside LazyListPrefetchStrategy. | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListPrefetchResultScope#mainAxisSize()` **This property is deprecated.** LazyListPrefetchResultScope is deprecated alongside LazyListPrefetchStrategy. | Cmn |

## Public properties

### index

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.9.0) Deprecated in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
val index: Int
```

> [!CAUTION]
> **This property is deprecated.**   
> LazyListPrefetchResultScope is deprecated alongside LazyListPrefetchStrategy. Prefetching behavior should be configured using LazyLayoutCacheWindow.

The index of the prefetched item

### mainAxisSize

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.9.0) Deprecated in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
val mainAxisSize: Int
```

> [!CAUTION]
> **This property is deprecated.**   
> LazyListPrefetchResultScope is deprecated alongside LazyListPrefetchStrategy. Prefetching behavior should be configured using LazyLayoutCacheWindow.

The main axis size in pixels of the prefetched item