# DontMemoize

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/DontMemoize.kt+class:androidx.compose.runtime.DontMemoize) Added in [1.6.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.6.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  @Retention(value = AnnotationRetention.SOURCE)
  @Target(allowedTargets = [AnnotationTarget.EXPRESSION])
  annotation DontMemoize
  ```

*** ** * ** ***

Mark a lambda in composition to opt out of auto-memoization. This annotation can be applied to individual lambdas e.g. val foo = @DontMemoize { ... }

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/DontMemoize#DontMemoize()()` | Cmn |

## Public constructors

### DontMemoize

Cmn

```
DontMemoize()
```