Compose Tips - Using Google's Room database in KMP (Kotlin Multi-Platform) for iOS & Android

preview_player
Показать описание
I demo the how to use Google Room database (loved by Android devs) in Compose Kotlin Multi-Platform apps.

This will likely also work for desktop, Wasm and Javascript targets, but I've not seen it documented yet, as of 5/6/2024.

Link to Source Code

Room (Kotlin Multiplatform)

JetBrains KMP Wizard

JetBrains Current Room Example

Join the KMP Developers Group:

Let me help you with your KMP project!
Рекомендации по теме
Комментарии
Автор

Hello. I was very happy to find your video, thank you very much. Special thanks for your positive attitude during the story)

stasleonov
Автор

Thank you for this amazing video. please record a video for inject room db into the Koin

saeednoshadi
Автор

Thanks for this! I been struggling with this for a couple weeks too! Do you know if it's possible to use a pre-populated DB with Room KMP? I have an existing dataset that I want to easily query.

oatmalik
Автор

Good video, how about migrate and update version ?

husordavid
Автор

I am trying to build the android app, but it keeps on crashing and saying NullPointerException(in saying null package name) while creating the builder object. 'm following exact steps mentioned in docs.

imSagarMalhotra
Автор

Anyone got room doesnt work on release setup on desktop with .msi .. ??
Working on android studio

Nick-cxrs
join shbcf.ru