I’m trying to add compose to my app (currently using databinding) .. but it not compile.. can I have compose and databinding running side-by-side?
(Maybe kapt is the main problem)
Also, for now, you can use kapt and Compose in different modules, and you should be fine. 🙂
v
Vitor Prado
02/19/2020, 9:14 PM
thanks!
My app is a single module, if I create a module for compose it generates a circular dependency into modules.
Vitor Prado
02/19/2020, 9:14 PM
I should wait for future update with a fix.
s
sindrenm
02/20/2020, 9:19 AM
Doesn't seem like it's fixed in dev05, either. If you could use view bindings instead, that should work, I believe, since it doesn't use kapt. However, if you rely on two-way binding, that's a no-go, I guess.