Is there any workaround to make `Room` run in a Co...
# compose
d
Is there any workaround to make
Room
run in a Compose project?
m
keep Compose code in a separate module from module(s) that use Room
👍 3
d
Tried that earlier and encountered another error which wasn’t related to Compose. It worked this time, thanks! 😄
m
what does this look like? i am unfamiliar with what module means in this context
m
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
I forgot to say thanks, you're help is much appreciated
👍 2