How to Setup a Room DB for Kotlin Multiplatform Compose

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 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...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 45

  • @Fo0nT
    @Fo0nT 14 วันที่ผ่านมา +14

    There it is, nice! Next video suggestions:
    - Preparing for Kotlin 2.0
    - Compose Preview Screenshot testing

  • @gerardosanchez7548
    @gerardosanchez7548 14 วันที่ผ่านมา +5

    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!!!

  • @stasleonov5196
    @stasleonov5196 14 วันที่ผ่านมา

    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

  • @peterpaniccc
    @peterpaniccc 14 วันที่ผ่านมา

    Thank you Philipp, extremely helpful content. I'll stick to realm, but good to know room is now also supported.

  • @sijanneupane
    @sijanneupane 14 วันที่ผ่านมา

    damn Philipp!
    you're speeding up! ❤

  • @andreaslinis1586
    @andreaslinis1586 14 วันที่ผ่านมา +4

    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 😂😂😂

  • @user-vs9ey3bd4t
    @user-vs9ey3bd4t 13 วันที่ผ่านมา

    Ive foudn th best kotlin youtuber.

  • @mohammadhosein8378
    @mohammadhosein8378 10 วันที่ผ่านมา +1

    please create a playlist for KMP videos on your channel for better access 🙏

  • @m.fatihyldz8159
    @m.fatihyldz8159 12 วันที่ผ่านมา

    damn i feel like u read my mind, thats what i was looking for :)

  • @andreaslinis1586
    @andreaslinis1586 14 วันที่ผ่านมา

    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)

  • @AravindhAthmanathan
    @AravindhAthmanathan 10 วันที่ผ่านมา

    Hi Philipp, Can we use Room for Desktop also ?

  • @tmjromao
    @tmjromao 13 วันที่ผ่านมา

    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

    • @PhilippLackner
      @PhilippLackner  13 วันที่ผ่านมา

      Check my recent video on how to share ViewModels and then connect these two :)

  • @Joshdevelopsdaily
    @Joshdevelopsdaily 13 วันที่ผ่านมา

    Can you pre-populate the DB in the ios main similar to how its done in android?

  • @o_zz
    @o_zz 14 วันที่ผ่านมา

    Could you make Playlist for KMP?

  • @ALEX54402
    @ALEX54402 14 วันที่ผ่านมา

    🎉🎉🎉 keep going

  • @khanhNguyen-ts6gj
    @khanhNguyen-ts6gj 10 วันที่ผ่านมา

    How can you have code suggestion on kotlin files of iosMain package? Mine Android studio only treated like a plain text files :(

  • @betterboyfilms
    @betterboyfilms 11 วันที่ผ่านมา

    Hi, whats your theme in Android Studio?

  • @MahmoudBashir-dd4or
    @MahmoudBashir-dd4or 12 วันที่ผ่านมา

    Could you please integrating it with koin in kmm

  • @vinupolly3558
    @vinupolly3558 6 วันที่ผ่านมา +1

    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?

    • @ZAKIALAM
      @ZAKIALAM 5 วันที่ผ่านมา

      Philips this error is emerged from Kotlin 2.0.0 and KSP 2.0.0.
      Could you please help ?

    • @kocur-pl
      @kocur-pl วันที่ผ่านมา

      i have same error

    • @bardeebooboo
      @bardeebooboo 23 ชั่วโมงที่ผ่านมา

      same...

  • @MrMarv37
    @MrMarv37 14 วันที่ผ่านมา

    Would this be the same way to implement room in an intellij desktop project?

    • @LassNoches
      @LassNoches 14 วันที่ผ่านมา

      I want to know this too

    • @PhilippLackner
      @PhilippLackner  14 วันที่ผ่านมา +1

      Yes for Desktop it works as well

    • @MrMarv37
      @MrMarv37 13 วันที่ผ่านมา

      ​@@PhilippLacknerthank you. And how do you create an instance of a room db in an intellij desktop only project?

  • @user-vs9ey3bd4t
    @user-vs9ey3bd4t 11 วันที่ผ่านมา

    How to add dao on wasm and desktop app

  • @MrMindfullness
    @MrMindfullness 14 วันที่ผ่านมา

    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.

  • @RajeshJaswalPune
    @RajeshJaswalPune 8 วันที่ผ่านมา

    error: Unresolved reference 'instantiateImpl'

  • @MrMindfullness
    @MrMindfullness 14 วันที่ผ่านมา

    How to login to my account on pl-coding website?

    • @PhilippLackner
      @PhilippLackner  14 วันที่ผ่านมา

      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 :)

    • @MrMindfullness
      @MrMindfullness 14 วันที่ผ่านมา

      @@PhilippLackner Thanks for reply! I was searching in emails by your name. Now I got it.

  • @abada-s
    @abada-s 14 วันที่ผ่านมา

    I hope to create a video about migrate from android project to kmp project

    • @PhilippLackner
      @PhilippLackner  14 วันที่ผ่านมา +1

      Already done

    • @abada-s
      @abada-s 14 วันที่ผ่านมา

      @@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

  • @johnkenedy
    @johnkenedy 4 วันที่ผ่านมา

  • @arozendojr
    @arozendojr 14 วันที่ผ่านมา

    I would like to see compose-ios, using a simple Android and ios webview

    • @PhilippLackner
      @PhilippLackner  14 วันที่ผ่านมา +1

      Already have a 3h course here on TH-cam :)

  • @frank4pickerson
    @frank4pickerson 14 วันที่ผ่านมา

    Why not use mongodb?

    • @fernandobatista3528
      @fernandobatista3528 13 วันที่ผ่านมา

      Coisa de mongol

    • @alexbecar977
      @alexbecar977 10 วันที่ผ่านมา

      Because its trash for most use cases