Android 12 Developer Preview is here! Try it out, and give us your feedback!

WindowRecomposerPolicy

object WindowRecomposerPolicy
kotlin.Any
   ↳ androidx.compose.ui.platform.WindowRecomposerPolicy

Summary

Public methods
Unit

R
withFactory(factory: WindowRecomposerFactory, block: () -> R)

Public methods

setFactory

fun setFactory(factory: WindowRecomposerFactory): Unit

withFactory

inline fun <R> withFactory(
    factory: WindowRecomposerFactory,
    block: () -> R
): R