Trying to explore compose desktop, separating my a...
# compose
z
Trying to explore compose desktop, separating my android dependencies, dagger would probably work since it's decoupled from android but what about networking? Is retrofit android dependant?
a
no
z
Tnx 😁
a
AFAIK 😅
g
yes, it’s correct, retrofit is not Android library, it’s jvm lib
l
I'd like to see Room on desktop 👀
g
I would just use SqlDelight. but not an option for existing project of course
💯 1
l
Yep. I like how Room works (and already a dependency on my Android project), but I don't think they're going to MPP it
g
Room doesn’t require MPP, it just should be converted to Java library, it a lot easier than real MPP But hard to say how tangled it with Android Gradle Plugin and Android Framework
l
I was thinking more of a HMPP project with a commonJava module (but this is not supported yet)
That's how I want to run my app: on desktop with JVM and Android.
g
but it will not work with Room anyway, isn’t it?
l
Not at the current state 🙂. HMPP would be better than a pure JVM module in order to keep binary compatibility with the current versions (you get to support android's Cursor). But anyways, I think I'll have to use another DB for desktop (or migrate to SqlDelight) when the time comes