any tutorial for adding Room with Koin in a compos...
# room
p
any tutorial for adding Room with Koin in a compose desktop multiplatform app? It's very complex, supposedly I need to separate things betwen commonMain and desktopMain but I can't find a guide with steps for doing it
z
The Room documentation describes this pretty well: https://developer.android.com/kotlin/multiplatform/room#creating-database We also did this live on stage in this talk, if you're up for a video format: https://zsmb.co/appearances/droidcon-berlin-2024-day1/ And the code from that talk is here: https://github.com/zsmb13/EkspenseTrakker
p
thank you, the documentation didn't help me, it lacks steps, I'm figuring out how to make it work checking a lot of videos and posts from other guys at internet, and that is only making it more complex and hard
let me explain it better, that documentation doesn't explain the step by step guide and how to divide parts of room on commonMain and other parts on desktopMain. Also, I'm trying to make it work with Koin, and it is making it even more harder and complex, for me it's becoming a nightmare after 4 days
I'll check in a moment your sample code and your video
@zsmb wow, chrome detects a virus on that .zip project. Doesn't let me to download the zip
virus detected
try it under chrome
tryed also with edge, and windows 10 detects a virus and deletes the zip
Trojan:Script/Wacatac.B!ml
@zsmb maybe do you have a step by step guide of how to implement room in compose desktop, with koin?
I'm trying to understand the differences between your project and my project, but it's complex, whould much better with a step by step guide, like the android codelabs