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

Alejandro Rios

10/07/2020, 4:00 PM
Hi guys, one question, if have an existing app and I'm thinking to migrate some screens to compose, is there any problem related to the use of compose with
synthetics
?, should I use
dataBinding
or
viewBinding
instead of
synthetics
?
🙌 1
r

Rudolf Tammekivi

10/07/2020, 4:08 PM
Synthetics caused compilation issues for me. I converted all to view binding and slowly migrated to compose. Now I don't need view binding anymore as all is Compose 🙂
s

Se7eN

10/07/2020, 4:34 PM
Yeah it doesn't work with synthetics
a

Alejandro Rios

10/07/2020, 4:36 PM
@Rudolf Tammekivi, @Se7eN thanks for the info
👍 1
r

Robert Menke

10/07/2020, 5:10 PM
There’s a fix coming for this in kotlin 1.4.2 but no telling when that will be released
s

sante

10/07/2020, 5:15 PM
This plugin is great for migrating views. I have yet to try it in more complex views, but so far so good. (Keep in mind it's a work in progress)
👍 1
m

Mini

10/07/2020, 7:34 PM
Why does it not work with 1.4.20-M1 ?
k

Kyant

10/07/2020, 10:40 PM
Because compose compiler is still in 1.4.10, so we have to wait for updates.
2 Views