# NoLiveLiterals

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/NoLiveLiterals.kt+class:androidx.compose.runtime.NoLiveLiterals) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.0.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  @Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.CLASS, AnnotationTarget.FILE])
  @Retention(value = AnnotationRetention.SOURCE)
  annotation NoLiveLiterals
  ```

*** ** * ** ***

This annotation is used to indicate to the Compose Compiler to not attempt to generate live literals inside the scope of the declaration it is applied to, even when the live literals code generation is turned on.

## Summary

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

## Public constructors

### NoLiveLiterals

Cmn

```
NoLiveLiterals()
```