<div class='type'>Function</div>


<a id='references'></a>


<h2 id="lazylayoutscrollscope-state-scrollscope">LazyLayoutScrollScope</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun LazyLayoutScrollScope(state: LazyListState, scrollScope: ScrollScope): LazyLayoutScrollScope
```


An implementation of `LazyLayoutScrollScope` that can be used with LazyLists. Please refer to the
sample to learn how to use this API.

#### Parameters

| | |
| --- | --- |
| state | The `LazyListState` associated with the layout where this custom scroll should be performed. |
| scrollScope | The base `ScrollScope` where the scroll session was created. |


#### Returns

| | |
| --- | --- |
|  | An implementation of `LazyLayoutScrollScope` that works with `LazyRow` and `LazyColumn`. |






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


<h2 id="lazylayoutscrollscope-state-scrollscope-2">LazyLayoutScrollScope</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun LazyLayoutScrollScope(
    state: LazyStaggeredGridState,
    scrollScope: ScrollScope,
): LazyLayoutScrollScope
```


An implementation of `LazyLayoutScrollScope` that can be used with LazyStaggeredGrids.

#### Parameters

| | |
| --- | --- |
| state | The `LazyStaggeredGridState` associated with the layout where this custom scroll should be performed. |
| scrollScope | The base `ScrollScope` where the scroll session was created. |


#### Returns

| | |
| --- | --- |
|  | An implementation of `LazyLayoutScrollScope` that works with `LazyHorizontalStaggeredGrid` and `LazyVerticalStaggeredGrid`. |






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


<h2 id="lazylayoutscrollscope-state-scrollscope-3">LazyLayoutScrollScope</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun LazyLayoutScrollScope(state: LazyGridState, scrollScope: ScrollScope): LazyLayoutScrollScope
```


An implementation of `LazyLayoutScrollScope` that can be used with LazyGrids.

#### Parameters

| | |
| --- | --- |
| state | The `LazyGridState` associated with the layout where this custom scroll should be performed. |
| scrollScope | The base `ScrollScope` where the scroll session was created. |


#### Returns

| | |
| --- | --- |
|  | An implementation of `LazyLayoutScrollScope` that works with `LazyHorizontalGrid` and `LazyVerticalGrid`. |






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


<h2 id="lazylayoutscrollscope-state-scrollscope-4">LazyLayoutScrollScope</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun LazyLayoutScrollScope(state: PagerState, scrollScope: ScrollScope): LazyLayoutScrollScope
```


A `LazyLayoutScrollScope` that allows customization of animated scroll in `Pager`. The scope
contains information about the layout where animated scroll can be performed as well as the
necessary tools to do that respecting the scroll mutation priority.

#### Parameters

| | |
| --- | --- |
| state | The `PagerState` associated with the layout where this animated scroll should be performed. |
| scrollScope | The base `ScrollScope` where the scroll session was created. |


#### Returns

| | |
| --- | --- |
|  | An implementation of `LazyLayoutScrollScope` that works with `HorizontalPager` and `VerticalPager`. |