The FULL Beginner Guide for Room in Android | Local Database Tutorial for Android

preview_player
Показать описание
In this video, you'll learn the ins and outs about Room and local databases on Android so you can get started implementing your own.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

Get my FREE PDF about 20 things you should never do in Jetpack Compose:

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

Subscribe to my FREE newsletter for regular Android, Kotlin & Architecture advice!

Join this channel to get access to perks:

Get the source code for this video here:

Join my Discord server:

You like my free content? Here you can buy me a coffee:
Рекомендации по теме
Комментарии
Автор

IF YOU WANT TO FOLLOW THIS TUTORIAL STEP BY STEP, use these settings: Empty activity(jetpack compose, the purple one), min sdk 24, groovy dsl. IN build.gradle(module :app), target sdk 33. Use room 2.5.0, as the latest version needs target sdk to be 34. activity-compose should be 1.7.2, jvm target 17, compileOptions source an target java version 17. These setting worked for me, if you have build errors, read them through and correct the versions or just copy paste them into stack overflow. Commenting this cause I had a lot of issues with the versions conflicting.

finnishcountryrussiansoulf
Автор

Philipp, my man, you're a true hero! You're helping me through my college course like nobody else.

mateuszczuba
Автор

Mahn you're doing so much for us, just keep it like that, love form India

rohitwaghole
Автор

You're tutorials are amazing, I was just looking for a Room tutorial and saw that this dropped recently I feel so lucky lol

MrPicklepod
Автор

This video is a god-send! Hope you have a long life and make many such videos that spread knowledge among the people who value it. Cheers!

sanjaybhatikar
Автор

Thanks man, the video fully describes all the steps to implement room. Also I liked that the code structure is well on point.

thebrassbeat
Автор

Thank you man you are making learning all this so much easier. You are a legend

pablovirus
Автор

Great tutorial Philipp! I would love to see how you would extend this to sync the data with an API containing a master database. For example if this is a shared contact list with all users of the master database.

morrolan
Автор

About a year passed but still actual topic. Watched this more than 4 times, still need to watch more))

cdegalaxy
Автор

Thanks for such a wonderful and in depth explanation...you are a gem❣️

deshabhaktg
Автор

This is exactly what I needed. Thank you.

Blurke
Автор

woow you uploaded what i was searching for, , thank you so much <3

sushant
Автор

Fabulous! That could not be better. Thanks!

ffpgfef
Автор

Thank you, quite a long tutorial but it's what i needed for my app!

mynameisearlb
Автор

I have learned a lot! Thank you Philipp

sergeilebedev
Автор

Continue man, you are doing very well.

Eyyuphan
Автор

There's so much about this I still struggle to understand, between these tutorials and the official android ones. It seems like the way you do it and the way they do it is so different despite using the same systems.

If anyone else is struggling to understand these concepts, know that you're not alone. A lot of the tutorials and guides for these subjects contradict each other, and it is difficult to tell what the differences between the implementations are.

Kaznerh
Автор

Hello Phillipp, Great work! I got just one question. Could you explain why this time we are not have to make instance of database inside companion object in ContactDatabase class?

Serosim
Автор

Great video, I would like to ask if there a way to output the raw sql query statement in logcat when I invoke Dao each time.

wzsh
Автор

this is a great tutorial. Thanks for sharing Philipp. Now you only include inserting and deleting records, any chance of including an updating example? I tried to include a checkbox in the table, but have not been succesful in making it work.

UriahHeep-gjjj