Skip to content
0:00 / 0:00

#room#sqlite#kotlin

ROOM Database - #1 Create Database Schema | Android Studio Tutorial

Stevdza-San

95K subscribers • 4 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

299K views6 years ago1 recommendation

Mobile developmentDatabases and dataAndroid and Jetpack ComposeSQLite

Stevdza-San explains how to define and create a database schema using the Room persistence library in Android.

🏆 My Online Courses ⭐Discount Coupon: LAUNCH-STEVDZA-SAN stevdza-san.com 🐱‍👤 Wanna become a member? Join! youtube.com/channel/UCYLAirIEMMXtWOECuZAtjqQ/join 📸 Instagram instagram.com/stevdza_san/ 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 creating a Database schema for our project. 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. Project File (Part 1): drive.google.com/file/d/18CGd3YUiHYezGazA4h0rvMYSaksEnoIA/vi… Room Database Part 2 - Insert Data - youtu.be/UBCAWfztTrQ Room Database Part 3 - Read Data - youtu.be/3USvr1Lz8g8 Room Database Part 4 - Update Data - youtu.be/5rfBU75sguk Room Database Part 5 - Delete Data - youtu.be/MFKOwKxdhwU Dependencies: // Navigation Component implementation 'androidx.navigation:navigation-fragment-ktx:2.2.2' implementation 'androidx.navigation:navigation-ui-ktx:2.2.2' // Room components implementation "androidx.room:room-runtime:2.2.5" kapt "androidx.room:room-compiler:2.2.5" implementation "androidx.room:room-ktx:2.2.5" androidTestImplementation "androidx.room:room-testing:2.2.5" // Lifecycle components implementation "androidx.lifecycle:lifecycle-extensions:2.2.0" implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0" // Kotlin components implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72" api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5" api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.5" Timestamps: - Introduction - ROOM Advantages - ROOM Main Components - App Preview - Dependencies - Create Entity - Create Dao - Create Database - Create Repository - Create ViewModel

Why it's here

1 person recommends this

What people say. Recommended as a key tutorial for learning local database storage in Android using Room.

u/GamerFan2012in r/Kotlin • Recommends

On “Best Kotlin Books for Beginners and Developers Must know”

As someone who as been in Android for about 15 years here. I posted this a few days ago but I'll one again copy and paste for you.... Philip Lackner link to this video Coding with Mitch. link to this video Stevdza San(one of the Better ones) link to this video Start by learning UI Components and Jetpack Compose. https://developer.android.com/develop/ui https://m3.material.io Then the main components of Android( Activities, Services, Content Providers, Broadcast Receivers). When you learn Activities, learn how Intents pass data between activities, study Fragments within Activities and how Lifecycles effect both of these. Know the difference between bound and unbound Services and when to use each. Learn about Inte…

u/GamerFan2012in r/Kotlin • Recommends

On “Trying to learn AndroidDev”

I keep seeing this same question so here's the roadmap I recommend for Android Devs. Philip Lackner link to this video Coding with Mitch. link to this video Stevdza San(one of the Better ones) link to this video Start by learning UI Components and Jetpack Compose. Then the main components of Android( Activities, Services, Content Providers, Broadcast Receivers). https://developer.android.com/guide/components/fundamentals Learn how to use a networking library like Retrofit to communicate with a backend using REST API. link to this video Learn how store that data using Jetpack Room, Jetpack DataStore. link to this video Study Android Jetpack in detail, master it's libraries (Compose, Fragment, Navigation, Paging3, View Pager, Work Ma…