androidx.compose.runtime.annotation

The androidx.compose.runtime.annotation package provides annotations used by the compiler and tooling. These annotations are published in a separate library to allow using these annotations in modules that do not depend on Compose Runtime, but may be used with Compose in other modules.

Annotations

FrequentlyChangingValue

FrequentlyChangingValue is used to denote properties and functions that return values that change frequently during runtime, and cause recompositions when they are read (for example, if they are backed with snapshot state).

Cmn
RememberInComposition

RememberInComposition is used by an associated lint check to enforce that a marked constructor, function, or property getter is not called directly within composition.

Cmn