Hello here 👋
I’m working on an open source project (https://github.com/GerardPaligot/discovering-movies) where I want to try compose on Android and Desktop. I had never tried Compose Desktop before but I’m surprised to see that Compose Desktop have their own Compose librairies.
There is no way to share components between platforms?
i
Igor Demin
04/07/2021, 9:47 AM
org.jetbrains.compose
- maven artifacts that support both Android and desktop. They built from the same source tree as
androidx.compose
(which is support only Android), but from different revision.
90% of components can be shared between Android and Desktop.
P.S. But there is a problem. There is no way to use third-party libraries that depends on
androidx.compose
. I hope we fix this before Compose for Desktop 1.0
👍 1
g
gpaligot
04/08/2021, 11:53 AM
Oh good to know and exactly what I'm looking for! Thanks!