ComposeView.Companion


Here to allow extension functions

Summary

Extension functions

ComposeView.Companion.disableWindowInsetsRulers

fun ComposeView.Companion.disableWindowInsetsRulers(): Unit

Used to disable androidx.compose.ui.layout.WindowInsetsRulers. This can be used when UI never reads WindowInsets across all ComposeViews to reduce the overhead of requesting WindowInsets updates. Only call this when no ComposeViews will ever need to handle insets over the lifetime of the application. This should be called before the first ComposeView is created.

ComposeView.Companion.setAutofillDebugEnabled

fun ComposeView.Companion.setAutofillDebugEnabled(enabled: Boolean): Unit

Used to enable androidx.compose.ui.autofill.AutofillLoggingCallback. Adds debug logs to help debug autofill input events.