androidx.compose.ui.viewinterop

In this page, you'll find documentation for types, properties, and functions available in the androidx.compose.ui.viewinterop package such as AndroidView.

If you're looking for guidance instead, check out the following Compose guides:

Classes

InteropView

A typealias for the platform's built-in View type, which may be hosted inside of a Compose UI hierarchy to allow for interoperability.

Cmn
android

Composables

AndroidView

Composes an Android View obtained from factory.

android
AndroidViewBinding

Composes an Android layout resource in the presence of ViewBinding.

android

Type aliases

InteropView

A typealias for the platform's built-in View type, which may be hosted inside of a Compose UI hierarchy to allow for interoperability.

android

Top-level properties summary

View.() -> Unit

An empty update block used by AndroidView.

android

Top-level properties

NoOpUpdate

val NoOpUpdateView.() -> Unit

An empty update block used by AndroidView.