# LazyColumn

## Functions summary

|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyColumn.composable#LazyColumn(androidx.glance.GlanceModifier,androidx.glance.layout.Alignment.Horizontal,kotlin.Function1)( modifier: https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier, horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/glance/layout/Alignment.Horizontal, content: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` A vertical scrolling list that only lays out the currently visible items. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/glance/ExperimentalGlanceApi @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyColumn.composable#LazyColumn(android.os.Bundle,androidx.glance.GlanceModifier,androidx.glance.layout.Alignment.Horizontal,kotlin.Function1)( activityOptions: https://developer.android.com/reference/android/os/Bundle.html, modifier: https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier, horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/glance/layout/Alignment.Horizontal, content: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` A vertical scrolling list that only lays out the currently visible items. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyColumn.composable#LazyColumn(androidx.glance.appwidget.lazy.VerticalScrollMode,androidx.glance.GlanceModifier,androidx.glance.layout.Alignment.Horizontal,kotlin.Function1)( verticalScrollMode: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/VerticalScrollMode, modifier: https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier, horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/glance/layout/Alignment.Horizontal, content: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html )` A vertical scrolling list that only lays out the currently visible items. |

## Functions

### LazyColumn

Artifact: [androidx.glance:glance-appwidget](https://developer.android.com/jetpack/androidx/releases/glance) [View Source](https://cs.android.com/search?q=file:androidx/glance/appwidget/lazy/LazyList.kt+function:LazyColumn)

```
@Composable
fun LazyColumn(
    modifier: GlanceModifier = GlanceModifier,
    horizontalAlignment: Alignment.Horizontal = Alignment.Start,
    content: LazyListScope.() -> Unit
): Unit
```

A vertical scrolling list that only lays out the currently visible items. The `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/package-summary#LazyColumn(androidx.glance.GlanceModifier,androidx.glance.layout.Alignment.Horizontal,kotlin.Function1)` block defines a DSL which allows you to emit different list items.

| Parameters |
|---|---|
| `modifier: https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier = GlanceModifier` | the modifier to apply to this layout |
| `horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/glance/layout/Alignment.Horizontal = Alignment.Start` | the horizontal alignment applied to the items. |
| `content: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | a block which describes the content. Inside this block you can use methods like `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope#item(kotlin.Long,kotlin.Function1)` to add a single item or `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope#items(kotlin.Int,kotlin.Function1,kotlin.Function2)` to add a list of items. If the item has more than one top-level child, they will be automatically wrapped in a Box. |

### LazyColumn

Artifact: [androidx.glance:glance-appwidget](https://developer.android.com/jetpack/androidx/releases/glance) [View Source](https://cs.android.com/search?q=file:androidx/glance/appwidget/lazy/LazyList.kt+function:LazyColumn)

```
@ExperimentalGlanceApi
@Composable
fun LazyColumn(
    activityOptions: Bundle,
    modifier: GlanceModifier = GlanceModifier,
    horizontalAlignment: Alignment.Horizontal = Alignment.Start,
    content: LazyListScope.() -> Unit
): Unit
```

A vertical scrolling list that only lays out the currently visible items. The `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/package-summary#LazyColumn(android.os.Bundle,androidx.glance.GlanceModifier,androidx.glance.layout.Alignment.Horizontal,kotlin.Function1)` block defines a DSL which allows you to emit different list items.

| Parameters |
|---|---|
| `activityOptions: https://developer.android.com/reference/android/os/Bundle.html` | Additional options built from an `https://developer.android.com/reference/android/app/ActivityOptions.html` to apply to an activity start. |
| `modifier: https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier = GlanceModifier` | the modifier to apply to this layout |
| `horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/glance/layout/Alignment.Horizontal = Alignment.Start` | the horizontal alignment applied to the items. |
| `content: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | a block which describes the content. Inside this block you can use methods like `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope#item(kotlin.Long,kotlin.Function1)` to add a single item or `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope#items(kotlin.Int,kotlin.Function1,kotlin.Function2)` to add a list of items. If the item has more than one top-level child, they will be automatically wrapped in a Box. |

### LazyColumn

Artifact: [androidx.glance:glance-appwidget](https://developer.android.com/jetpack/androidx/releases/glance) [View Source](https://cs.android.com/search?q=file:androidx/glance/appwidget/lazy/LazyList.kt+function:LazyColumn)

```
@Composable
fun LazyColumn(
    verticalScrollMode: VerticalScrollMode,
    modifier: GlanceModifier = GlanceModifier,
    horizontalAlignment: Alignment.Horizontal = Alignment.Start,
    content: LazyListScope.() -> Unit
): Unit
```

A vertical scrolling list that only lays out the currently visible items. The `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/package-summary#LazyColumn(androidx.glance.appwidget.lazy.VerticalScrollMode,androidx.glance.GlanceModifier,androidx.glance.layout.Alignment.Horizontal,kotlin.Function1)` block defines a DSL which allows you to emit different list items.

| Parameters |
|---|---|
| `verticalScrollMode: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/VerticalScrollMode` | how to handle scrolling. See `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/VerticalScrollMode` |
| `modifier: https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier = GlanceModifier` | the modifier to apply to this layout |
| `horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/glance/layout/Alignment.Horizontal = Alignment.Start` | the horizontal alignment applied to the items. |
| `content: https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | a block which describes the content. Inside this block you can use methods like `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope#item(kotlin.Long,kotlin.Function1)` to add a single item or `https://developer.android.com/reference/kotlin/androidx/glance/appwidget/lazy/LazyListScope#items(kotlin.Int,kotlin.Function1,kotlin.Function2)` to add a list of items. If the item has more than one top-level child, they will be automatically wrapped in a Box. |