How to Setup a Room DB for Kotlin Multiplatform Compose
Vložit
- čas přidán 18. 05. 2024
- In this video I'll show you how to set up a Room DB for Kotlin Multiplatform Compose!
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/drop-table-ment...
⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses/
Get my FREE PDF about 20 things you should never do in Jetpack Compose:
pl-coding.com/jetpack-compose...
Regular programming advice on my Instagram page: / _philipplackner_
Join my Discord server:
/ discord
Get the source code for this video on GitHub:
github.com/philipplackner/Roo... - Věda a technologie
There it is, nice! Next video suggestions:
- Preparing for Kotlin 2.0
- Compose Preview Screenshot testing
No gonna lie, today i was decided to implement Rom in KMP with the documentation provided for google. And Philipp comes with this video, it is truly insane.
Philipp you saved my day, tanks a lot!!!
Philipp, I spent two days trying to do this, and here’s your video! Lord, give you everything you want and thank you so much
Glad I could help!
Thank you Philipp, extremely helpful content. I'll stick to realm, but good to know room is now also supported.
damn Philipp!
you're speeding up! ❤
I used to have roomdb then wanted to migrate for kotlin multiplatform so changed to sqldelight. Now room is available for kotlin multi platform too. Too late 😂😂😂
Ive foudn th best kotlin youtuber.
please create a playlist for KMP videos on your channel for better access 🙏
damn i feel like u read my mind, thats what i was looking for :)
Philip is it safe to use compose multiplatform for production in this point or is it a bit risky with alpha version? (Jetbrains focus to release beta this year)
I wouldn't yet
Hi Philipp, Can we use Room for Desktop also ?
Philipp many thanks for the video explanation. Could you explain how to implement dependency injection in this project? how to inject the room database in the viewmodel, shared amongst Android and iOS? thanks, best regards
Check my recent video on how to share ViewModels and then connect these two :)
Can you pre-populate the DB in the ios main similar to how its done in android?
Could you make Playlist for KMP?
🎉🎉🎉 keep going
How can you have code suggestion on kotlin files of iosMain package? Mine Android studio only treated like a plain text files :(
Hi, whats your theme in Android Studio?
Could you please integrating it with koin in kmm
For Kotlin 2.0.0, there seems to be an issue syncing 'Cannot change attributes of configuration ':composeApp:debugFrameworkIosX64' after it has been locked for mutation', have used the latest KSP so that IDE identifies generated sources, but still throwing this error. Any one had any luck with this?
Philips this error is emerged from Kotlin 2.0.0 and KSP 2.0.0.
Could you please help ?
i have same error
same...
Would this be the same way to implement room in an intellij desktop project?
I want to know this too
Yes for Desktop it works as well
@@PhilippLacknerthank you. And how do you create an instance of a room db in an intellij desktop only project?
How to add dao on wasm and desktop app
If some one from subscriber knows how to login to account on pl-coding, please reply. I am not able to see a way to login on pl-coding. I want to access course that I enrolled for.
error: Unresolved reference 'instantiateImpl'
How to login to my account on pl-coding website?
After the purchase you got an email with instructions to set a password on Memberspot. Then you just need to log in there with the link in the email :)
@@PhilippLackner Thanks for reply! I was searching in emails by your name. Now I got it.
I hope to create a video about migrate from android project to kmp project
Already done
@@PhilippLackner I don't think that I missed a video for you, I mean if there is an existing android project, how to migrate its settings and configurations to be a kmp one
I would like to see compose-ios, using a simple Android and ios webview
Already have a 3h course here on CZcams :)
Why not use mongodb?
Coisa de mongol
Because its trash for most use cases