# GlimmerLazyListLayoutInfo

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/GlimmerLazyListLayoutInfo.kt+class:androidx.xr.glimmer.list.GlimmerLazyListLayoutInfo) Added in [1.0.0-alpha22](https://developer.android.com/jetpack/androidx/releases/xr-glimmer#1.0.0-alpha22)


```
interface GlimmerLazyListLayoutInfo
```

<br />

*** ** * ** ***

Information about the layout of the `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/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#afterContentPadding()` The content padding in pixels applied after the last item in the direction of scrolling. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#beforeContentPadding()` The content padding in pixels applied before the first item in the direction of scrolling. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#mainAxisItemSpacing()` The spacing that will be applied between items in the direction of scrolling, in pixels. |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/gestures/Orientation` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#orientation()` The orientation of the list. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#reverseLayout()` True if the direction of scrolling and layout is reversed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#totalItemsCount()` The total count of items passed to `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)`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#viewportEndOffset()` The end offset of the layout's viewport in pixels. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/IntSize` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#viewportSize()` The size of the viewport in pixels. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#viewportStartOffset()` The start offset of the layout's viewport in pixels. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo>` | `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#visibleItemsInfo()` The list of `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo` representing all the currently visible items. |

## Public properties

### afterContentPadding

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

```
val afterContentPadding: Int
```

The content padding in pixels applied after the last item in the direction of scrolling.

### beforeContentPadding

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

```
val beforeContentPadding: Int
```

The content padding in pixels applied before the first item in the direction of scrolling.

### mainAxisItemSpacing

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

```
val mainAxisItemSpacing: Int
```

The spacing that will be applied between items in the direction of scrolling, in pixels.

### orientation

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

```
val orientation: Orientation
```

The orientation of the list.

### reverseLayout

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

```
val reverseLayout: Boolean
```

True if the direction of scrolling and layout is reversed.

### totalItemsCount

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

```
val totalItemsCount: Int
```

The total count of items passed to `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)`.

### viewportEndOffset

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

```
val viewportEndOffset: Int
```

The end offset of the layout's viewport in pixels. You can think of it as a maximum offset which would be visible. It is the size of the list layout minus `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#beforeContentPadding()`.

You can use it to understand what items from `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#visibleItemsInfo()` are fully visible.

### viewportSize

```
val viewportSize: IntSize
```

The size of the viewport in pixels. It is the list layout size including all the content paddings.

### viewportStartOffset

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

```
val viewportStartOffset: Int
```

The start offset of the layout's viewport in pixels. You can think of it as a minimum offset which would be visible. Usually it is 0, but it can be negative if non-zero `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#beforeContentPadding()` was applied as the content displayed in the content padding area is still visible.

You can use it to understand what items from `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListLayoutInfo#visibleItemsInfo()` are fully visible.

### visibleItemsInfo

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

```
val visibleItemsInfo: List<GlimmerLazyListItemInfo>
```

The list of `https://developer.android.com/reference/kotlin/androidx/xr/glimmer/list/GlimmerLazyListItemInfo` representing all the currently visible items.