Is it possible to use compose multiplatform withou...
# getting-started
q
Is it possible to use compose multiplatform without Kotlin? I am a Java programmers interested in this library.
m
Compose works by using a plugin to Kotlin compiler, so all compose code must be written in Kotlin.
Now you could still keep everything but the UI in Java.
j
And then realize how much more comfortable it is to write in Kotlin, and migrate your java code :D
plus1 1
q
@mkrussel Keeping most code in Java and having the UI code in Kotlin sounds interesting. Is there any resource to get started?
m
Not much to learn other than to start learning Kotlin. It was designed to interop with Java, so things in general just work. https://kotlinlang.org/docs/java-to-kotlin-interop.html
q
Ok. Thanks.