I see recommendations for using Compose and things...
# compose
k
I see recommendations for using Compose and things like Room in the same project by isolating Compose to another module. I’m in Android Studio. I create a new module. Is this uspposed to be library module or what? I created Android App module but now can’t get my one module’s Activities to be able to
import mycomposemodule.testactivity
. How do I accomplish this? I’m trying to add Compose functionality to an existing application that uses Room and other stuff.
dev06
, by the way.
s
You have to declare you module as a dependency of the other 🙂 (
implementation project(':mymodule')
) Check this documentation: • Gradle multi-module https://docs.gradle.org/current/userguide/multi_project_builds.html • Plaid is multi-module too: https://github.com/android/plaid