A typealias for the platform's built-in View type, which may be hosted inside of a Compose UI hierarchy to allow for interoperability. Not all platforms support interoperability in this way, in which case the typealias will resolve to Any.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# InteropView\n===========\n\nArtifact: [androidx.compose.ui:ui](/jetpack/androidx/releases/compose-ui) \n[View Source](https://cs.android.com/search?q=file:androidx/compose/ui/viewinterop/InteropView.+class:androidx.compose.ui.viewinterop.InteropView)\nCommon/AllAndroid/JVM\n - Cmn \n\n ```\n @InternalComposeUiApi\n class InteropView\n ```\n - android \n\n ```\n actual typealias InteropView = View\n ```\n\n*** ** * ** ***\n\nA typealias for the platform's built-in View type, which may be hosted inside of a Compose UI hierarchy to allow for interoperability. Not all platforms support interoperability in this way, in which case the typealias will resolve to [Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)."]]