Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Live Data in Android Studio using Kotlin | Android Knowledge

5.4K views on YouTube

Welcome to Android Knowledge!

In this video, we will learn what is live data using viewmodel in android studio using kotlin – Android Kotlin Advanced Series

ViewModel Dependency:
implementation (“androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2”)

LiveData Dependency:
implementation (“androidx.lifecycle:lifecycle-livedata-ktx:2.6.2”)

Android – Kotlin (Beginners to Advanced) Playlist:

Join our Telegram Group:
https://t.me/androidknowledge

Instagram:
https://www.instagram.com/android_knowledge/

My Best Laptop for Android Development:
https://amzn.to/3wVfgnE

Website:

Home

My Laptop SSD for Fast Android Studio Experience:
https://amzn.to/40qvoLo

My Laptop Stand with Cooling Fans – Avoid Heating Due to Android Studio:
https://amzn.to/3RxeGpV

If you have any queries or errors, please feel free to comment below 🙂
Please subscribe to my channel 😊👍

Chapters:
00:00 – Intro
00:09 – Recap
00:58 – Live Data
02:36 – Live Data Project
03:04 – Pre-requisites
04:38 – activity_main.xml
05:26 – MyViewModel.kt
09:04 – MainActivity.kt
12:00 – Output

Hashtags:
#android #androidstudio #kotlin #androiddevelopment #mobileappdevelopment

Keywords:
Live Data in Android Studio using Kotlin | Android Knowledge
livedata,android,androidviewmodel,model,androidstudio,view,livedata,orientation,guide,device,rotation,lifecycle,onsaveinstancestate,lifecycle,architecture,save,room,data,live,change,howto,rotate,kotlin,activity,tutorial,viewmodelprovider,component,components,app,kotlin, mvvm, model, view, livedata, counter app, configuration changes, system configuration in android, model view view model, observe.

Disclaimer:
We are a participant in the Amazon Associates Program, an affiliate marketing program designed to provide a means for us to earn fees when you click on a product link and make a purchase at no extra cost to you.

All rights reserved by Android Knowledge ©