# Remeasurement

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/layout/RemeasurementModifier.kt+class:androidx.compose.ui.layout.Remeasurement) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  interface Remeasurement
  ```

*** ** * ** ***

This object is associated with a layout node and allows to execute some extra measure/layout actions which are needed for some complex layouts. In most cases you don't need it as measuring and layout should be correctly working automatically for most cases.

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/layout/Remeasurement#forceRemeasure()()` Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before. | Cmn |

## Public functions

### forceRemeasure

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
fun forceRemeasure(): Unit
```

Performs the node remeasuring synchronously even if the node was not marked as needs remeasure before. Useful for cases like when during scrolling you need to re-execute the measure block to consume the scroll offset and remeasure your children in a blocking way.