ROOM Database - #5 Delete Data | Android Studio Tutorial

preview_player
Показать описание
🏆 My Online Courses
⭐Discount Coupon: LAUNCH-STEVDZA-SAN

🐱‍👤 Wanna become a member? Join!

📸 Instagram

Hello there and welcome to my Tutorial Series. With this video I'm starting a new tutorial series about ROOM database with Kotlin. This tutorial serie will have 5 videos.This current video will be all about deleting single and multiple items from database table. So if you watched my earlier tutorial series about SQLite Database, then you noticed how hard is it to create and manage one database. But with ROOM library everything is easier! ROOM library is built on top of SQliteOpenHelper class.

Timestamps:
0:00 - Introduction
0:35 - Create Menu Resource File
1:33 - Handle Click Event on Menu item
2:10 - Delete Single User
6:04 - Delete Everything from table
Рекомендации по теме
Комментарии
Автор

Kotlinx.Synthetic has been deprecated so you should migrate to View Binding instead. 👍👌

StevdzaSan
Автор

Seriously, great series, I learned a lot. Thanks again!

Indently
Автор

Man, I'm new in Android and this tutorial series was exactly what I needed to get my first app going. Tbh, at the time where you were coding, I watched the videos at 0.75, but that's me not being proficient enough to follow along. Huge thanks! I'll definitely check other videos too.

bujowskis
Автор

Hello, everybody! onCreateMenu function was deprecated, so, use onMenuProvider istead!
Good luck to you!

uladezhda
Автор

Thanks Man, Finally a series of properly explained concepts

Ali-ydfl
Автор

Interesting how with each video there are less and less views - anyway, thanks for the great tutorial and this elegant (and clean) showcase of room Database - saved my life for college course

mateuszolszewski
Автор

Thank you so much!! Your lessons are the most understandable and useful of all that I have met. I am very glad that I found your channel. You are breathtaking ✨

darianna
Автор

Amazing tutorial! This is what exactly I'm looking for :) Thank you!

Android-sbuo
Автор

@Stevdza-San When we add new User after deleteing all the list-items, ID should start from 0 but it is not happening. ID is getting started from next number.

divyanshverma
Автор

Thanks a lot to you for such a good tutorial . This let me understood almost everything about the room database .

_gauravmishra
Автор

Thanks for your video! I Luckily saw this and get started Room easily. It's all thanks to you.

yonghanju
Автор

Hello, sir. Could you advise me how can I zero the position of recycler view the right way after deleting all users? I mean when deleting all users one adds a new user and it appears with id that proceeds previous user.

РожковАндрей-хш
Автор

Really really the best tutorial. Thank you!!!

gincosun
Автор

Thanks for this playlist I've learnt a lot from this

sandeepprabhakula
Автор

That was a great tutorial, thank you very much!

rafaelcagliari
Автор

Thank you very much for this quality course😀😀

artianrika
Автор

@Stevdza-San I modified the ListFragment to include a checkbox to see if I could delete a Single User straight from the ListFragment. I tried to replicate the code in the UpdateListFragment; and created a 2nd args for the ListFragment from navigation. It doesn't show any errors in the IDE, but when ran it doesn't do anything. Is there anyway I could make it so this would happen?

umarsyed
Автор

Bro, u very help me in android, ty so much!!

parsifal
Автор

after deleting all data. if we enter new data it will continue from last ended id. id
not deleting

narasimhaandroid
Автор

How can we reset the auto generated id ? After deleting all users, if I add another user it gives id to new user according to the number of users I had before deleting .

ujjalsaha