# GlimmerLazyListItemInfo

Artifact: [androidx.xr.glimmer:glimmer](https://developer.android.com/jetpack/androidx/releases/xr-glimmer) [View Source](https://cs.android.com/search?q=file:androidx/xr/glimmer/list/GlimmerLazyListMeasuredItem.kt+class:androidx.xr.glimmer.list.GlimmerLazyListItemInfo) Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)


```
interface GlimmerLazyListItemInfo
```

<br />

*** ** * ** ***

Contains useful information about an individual item in a `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyColumn.composable#GlimmerLazyColumn(androidx.compose.ui.Modifier,androidx.xr.glimmer.list.GlimmerLazyListState,androidx.compose.foundation.layout.PaddingValues,kotlin.Boolean,androidx.compose.foundation.OverscrollEffect,androidx.compose.foundation.gestures.FlingBehavior,kotlin.Boolean,androidx.compose.ui.Alignment.Horizontal,androidx.compose.foundation.layout.Arrangement.Vertical,kotlin.Function1)`.

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo#contentType()` The content type of the item which was passed to the item() or items() function. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo#index()` The index of the item in the list. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo#key()` The key of the item which was passed to the item() or items() function. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo#offset()` The main axis offset of the item in pixels. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo#size()` The main axis size of the item in pixels. |

## Public properties

### contentType

Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)

```
val contentType: Any?
```

The content type of the item which was passed to the item() or items() function.

### index

Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)

```
val index: Int
```

The index of the item in the list.

### key

Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)

```
val key: Any
```

The key of the item which was passed to the item() or items() function.

### offset

Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)

```
val offset: Int
```

The main axis offset of the item in pixels. It is relative to the start of the lazy list container.

### size

Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)

```
val size: Int
```

The main axis size of the item in pixels. Note that if you emit multiple layouts in the composable slot for the item then this size will be calculated as the sum of their sizes.