It looks like it’s still not possible to host an A...
# compose
z
It looks like it’s still not possible to host an Android
View
nested inside a compose container, is that true?
m
Support for `View`s inside compose will come in the next release 🙂
🙌 8
z
Awesome, can’t wait!
l
No xml required, right?
z
Right now I don't know if XML is even directly supported at all. The current API is that a "constructor" is generated for each
View
that has a
Context
constructor with a named parameter for each settable property. E.g.
TextView(text = "Hello")
. You could make a wrapper view that has a layout id property to inflated as a child to support XML views using this API if you needed it.
It just only works at the root of the composition right now.