MovableContent


A Compose compiler plugin API. DO NOT call directly. Use movableContentOf instead.

An instance used to track the identity of the movable content. Using a holder object allows creating unique movable content instances from the same instance of a lambda. This avoids using the identity of a lambda instance as it can be merged into a singleton or merged by later rewritings and using its identity might lead to unpredictable results that might change from the debug and release builds.

See also
movableContentOf

Summary

Public constructors

Any?> MovableContent(content: @Composable (parameter) -> Unit)
Cmn

Public properties

@Composable (parameter) -> Unit
Cmn

Public constructors

MovableContent

Any?> MovableContent(content: @Composable (parameter) -> Unit)

Public properties

content

val content: @Composable (parameter) -> Unit