Kotlin: Using Room Kotlin APIs - MAD Skills

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • Room is a database library that's part of Android Jetpack. It makes working on databases for Android much easier. In this video, Florina will tell us how to use and test Room Kotlin APIs.
    Room with a view codelab → goo.gle/2JKoez8
    Room documentation → goo.gle/2Xcnq9l
    Catch more Kotlin and Jetpack APIs for MAD Skills → goo.gle/kotlin-madskills
    Watch more MAD Skills episodes → goo.gle/madskills
    Subscribe to Android Developers → goo.gle/AndroidDevs
    #Kotlin #Jetpack #MADSkills
  • НаукаНаука

Комментарии • 31

  • @goobar
    @goobar 3 года назад +14

    Room is my fav Jetpack library as well 👍👍

  • @mehulbisht9708
    @mehulbisht9708 3 года назад +8

    Nice to see that testing was also shown!

  • @markcleveland3136
    @markcleveland3136 3 года назад +3

    The way she take you through the steps make things easier to understand .

  • @martinseal1987
    @martinseal1987 3 года назад +11

    Room is my favourite library, blink twice if you need help 😂

  • @michaelnajera7958
    @michaelnajera7958 3 года назад +1

    Would love to see Many-Many implementation video. Both for reads and writes to the db.

  • @ArjunVerma-lq4cf
    @ArjunVerma-lq4cf 3 года назад

    What a co incidence today i started learning this in my course

  • @MarcusWolschon
    @MarcusWolschon 3 года назад +1

    While generating code it could have generated constants for the table and column names to use them in queries without the possibility of typos.

  • @fozyum
    @fozyum Год назад

    Hello, thanks for the content. There is something I want to ask, I keep the name and date information with Room in the project I am working on, at the same time I want to keep a name and ArrayList in a different part of the program. To do this, should I add all the classes and the new interface to the project again, using the database I created. how can i keep them

  • @hhhgfg1
    @hhhgfg1 3 года назад

    Where are the gradle config thou? Isn't that the first thing to do before starting to use room or do you start adding @Entity on data classes without those gradle dependencies??

  • @yendys74
    @yendys74 3 года назад

    Room is the ultimate weapon...love to use😂

  • @RahulRawat-rj8ol
    @RahulRawat-rj8ol 2 года назад

    @Entity
    data class Note(
    var title: String,
    var discription: String,
    var imageList: ArrayList
    )
    mam what in this case if i have list of images to be store in database i am not getting any solution for this.

  • @abhisheksaxena518
    @abhisheksaxena518 3 года назад +2

    Since room is executing all the queries on a background thread by default, does that mean I can call the insert functions on Dispatchers.Main instead of switching the context(IO/Default)?

    • @petyahaha
      @petyahaha 3 года назад +3

      Yes, it is explained in the video that Room switches to the IO context by itself.

  • @garenolorenzo5851
    @garenolorenzo5851 3 года назад +1

    Jetpack Compose 😻😻😻

  • @user-sw4sb5ep3w
    @user-sw4sb5ep3w 3 года назад

    Nice 👍 helpful 👌

  • @mdForid-hm4jz
    @mdForid-hm4jz 3 года назад +1

    so thanks

  • @heshansandeepa9471
    @heshansandeepa9471 9 месяцев назад

    Awesome

  • @SanalDersaneLeventYadrga
    @SanalDersaneLeventYadrga Месяц назад

    6:23 Is there an error on line 68?

  • @guduguminchu
    @guduguminchu 3 года назад +1

    The room is very easy to use.

  • @bdmaxvalera
    @bdmaxvalera 3 года назад +1

    Great 😄 room is awesome

  • @schrodingerscat3912
    @schrodingerscat3912 3 года назад

    MAD skillz

  • @zynastor1
    @zynastor1 3 года назад

    btw i always use allowtomainthreadquaries()

  • @ss-xn5rw
    @ss-xn5rw 3 года назад +1

    make video on kotlin scope functions , let,with,run, apply etc

    • @LearningIs4fun
      @LearningIs4fun 3 года назад +1

      Philip Lackner already have a video on his channel; such a beautiful Video.

    • @ss-xn5rw
      @ss-xn5rw 3 года назад

      @@LearningIs4fun ok thanku

  • @gilsonjuniorpro
    @gilsonjuniorpro 3 года назад

    is it wrong use companion object inside activities?

  • @ahmadazharbinatalib7303
    @ahmadazharbinatalib7303 3 года назад +1

    Hello friend.

  • @SkWasimAkram
    @SkWasimAkram 3 года назад +1

    Everyone gonna comment that Room is the best jetpack library 😂 by the way mine also😐😁😁🤭

  • @miss_nainuu
    @miss_nainuu Год назад

    You are hard coders. Only google Dev understands

  • @jibraniqbal7830
    @jibraniqbal7830 3 года назад +1

  • @sajjadabdulaziz6178
    @sajjadabdulaziz6178 3 года назад +4

    First comment