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 Наука
Room is my fav Jetpack library as well 👍👍
Nice to see that testing was also shown!
The way she take you through the steps make things easier to understand .
Room is my favourite library, blink twice if you need help 😂
Would love to see Many-Many implementation video. Both for reads and writes to the db.
What a co incidence today i started learning this in my course
While generating code it could have generated constants for the table and column names to use them in queries without the possibility of typos.
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
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??
Room is the ultimate weapon...love to use😂
@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.
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)?
Yes, it is explained in the video that Room switches to the IO context by itself.
Jetpack Compose 😻😻😻
Nice 👍 helpful 👌
so thanks
Awesome
6:23 Is there an error on line 68?
The room is very easy to use.
Great 😄 room is awesome
MAD skillz
btw i always use allowtomainthreadquaries()
make video on kotlin scope functions , let,with,run, apply etc
Philip Lackner already have a video on his channel; such a beautiful Video.
@@LearningIs4fun ok thanku
is it wrong use companion object inside activities?
Hello friend.
Everyone gonna comment that Room is the best jetpack library 😂 by the way mine also😐😁😁🤭
You are hard coders. Only google Dev understands
First comment