https://kotlinlang.org logo
#compose
Title
# compose
t

Tim Strehlow

02/16/2020, 9:56 PM
Hey everyone, I'm just getting started with Compose. Is it possible to start with transforming one view of an existing codebase into a Composable and somehow use that within the old UI system?
💡 1
m

mbonnin

02/16/2020, 9:58 PM
Yes, you have
Copy code
fun ViewGroup.setContent(
    content: @Composable() () -> Unit
)
for this
🙏 5
t

Tim Strehlow

02/16/2020, 10:01 PM
Awesome, thank you for your help! 👍