<div class='sourceset sourceset-android'>Android</div>

```kotlin
@TransformingLazyColumnScopeMarker
public sealed interface TransformingLazyColumnScope
```

Receiver scope which is used by [TransformingLazyColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/composable-functions/TransformingLazyColumn).

## Functions

<h2 id="items-count-key-contenttype-content">items</h2>

```kotlin
public fun items(
        count: Int,
        key: ((index: Int) -> Any)? = null,
        contentType: (index: Int) -> Any? = { null },
        content: @Composable TransformingLazyColumnItemScope.(index: Int) -> Unit,
    )
```

Adds [count](/jetpack-compose/androidx.wear.compose/compose-foundation/interfaces/TransformingLazyColumnScope) items.

#### Parameters

| | |
| --- | --- |
| count | The number of items to add to the [TransformingLazyColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/composable-functions/TransformingLazyColumn). |
| key | A factory of stable and unique keys representing the item. Using the same key for multiple items in the [TransformingLazyColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/composable-functions/TransformingLazyColumn) is not allowed. |
| contentType | A factory of the content types for the item. The item compositions of the same type could be reused more efficiently. Note that null is a valid type and items of such type will be considered compatible. |
| content | The content displayed by a single item. |

<hr class="docs-overload-divider">

<h2 id="item-key-contenttype-content">item</h2>

```kotlin
public fun item(
        key: Any? = null,
        contentType: Any? = null,
        content: @Composable TransformingLazyColumnItemScope.() -> Unit,
    )
```

Adds a single item.

#### Parameters

| | |
| --- | --- |
| key | A stable and unique key representing the item. Using the same key for multiple items in the [TransformingLazyColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/composable-functions/TransformingLazyColumn) is not allowed. Type of the key should be saveable via Bundle on Android. If null is passed the position in the [TransformingLazyColumn](/jetpack-compose/androidx.wear.compose/compose-foundation/composable-functions/TransformingLazyColumn) will represent the key. When you specify the key the scroll position will be maintained based on the key, which means if you add/remove items before the current visible item the item with the given key will be kept as the first visible one. |
| contentType | The type of the content of this item. The item compositions of the same type could be reused more efficiently. Note that null is a valid type and items of such type will be considered compatible. |
| content | The content of the item. |