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


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


<h2 id="movablecontentwithreceiverof-content">movableContentWithReceiverOf</h2>

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


```kotlin
@RememberInComposition
public fun <R> movableContentWithReceiverOf(
    content: @Composable R.() -> Unit
): @Composable R.() -> Unit
```


Convert a lambda with a receiver into one that moves the remembered state and nodes created in a
previous call to the new location it is called.

Tracking compositions can be used to produce a composable that moves its content between a row
and a column based on a parameter, such as,


Or they can be used to ensure the composition state tracks with a model as moves in the layout,
such as,

#### Parameters

| | |
| --- | --- |
| content | The composable lambda to convert into a state tracking lambda. |


#### Returns

| | |
| --- | --- |
|  | A tracking composable lambda |






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


<h2 id="movablecontentwithreceiverof-content-2">movableContentWithReceiverOf</h2>

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


```kotlin
@RememberInComposition
public fun <R, P> movableContentWithReceiverOf(
    content: @Composable R.(P) -> Unit
): @Composable R.(P) -> Unit
```


Convert a lambda with a receiver into one that moves the remembered state and nodes created in a
previous call to the new location it is called.

Tracking compositions can be used to produce a composable that moves its content between a row
and a column based on a parameter, such as,


Or they can be used to ensure the composition state tracks with a model as moves in the layout,
such as,

#### Parameters

| | |
| --- | --- |
| content | The composable lambda to convert into a state tracking lambda. |


#### Returns

| | |
| --- | --- |
|  | A tracking composable lambda |






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


<h2 id="movablecontentwithreceiverof-content-3">movableContentWithReceiverOf</h2>

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


```kotlin
@RememberInComposition
public fun <R, P1, P2> movableContentWithReceiverOf(
    content: @Composable R.(P1, P2) -> Unit
): @Composable R.(P1, P2) -> Unit
```


Convert a lambda with a receiver into one that moves the remembered state and nodes created in a
previous call to the new location it is called.

Tracking compositions can be used to produce a composable that moves its content between a row
and a column based on a parameter, such as,


Or they can be used to ensure the composition state tracks with a model as moves in the layout,
such as,

#### Parameters

| | |
| --- | --- |
| content | The composable lambda to convert into a state tracking lambda. |


#### Returns

| | |
| --- | --- |
|  | A tracking composable lambda |






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


<h2 id="movablecontentwithreceiverof-content-4">movableContentWithReceiverOf</h2>

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


```kotlin
@RememberInComposition
public fun <R, P1, P2, P3> movableContentWithReceiverOf(
    content: @Composable R.(P1, P2, P3) -> Unit
): @Composable R.(P1, P2, P3) -> Unit
```


Convert a lambda with a receiver into one that moves the remembered state and nodes created in a
previous call to the new location it is called.

Tracking compositions can be used to produce a composable that moves its content between a row
and a column based on a parameter, such as,


Or they can be used to ensure the composition state tracks with a model as moves in the layout,
such as,

#### Parameters

| | |
| --- | --- |
| content | The composable lambda to convert into a state tracking lambda. |


#### Returns

| | |
| --- | --- |
|  | A tracking composable lambda |