keep Compose code in a separate module from module(s) that use Room
👍 3
d
deniskrr
02/04/2020, 8:07 PM
Tried that earlier and encountered another error which wasn’t related to Compose. It worked this time, thanks! 😄
m
Matthewdhowell
02/28/2020, 12:27 AM
what does this look like? i am unfamiliar with what module means in this context
m
Mark Murphy
02/28/2020, 12:41 AM
A typical Android Studio project starts off with one module:
app/
. You can add additional modules to it via File > New > New Module. So, you could have a library module that contains your Room code, with your Compose code in
app/
, for example.
m
Matthewdhowell
03/15/2020, 6:25 AM
I forgot to say thanks, you're help is much appreciated