Kotlin Android Development Course for Beginners // ViewBinding + ViewModel + LiveData // MVVM
This is lecture 8 in a 9 week series on mobile app development with Android and Kotlin. In this Kotlin Android development course for beginners, you’ll learn the fundamentals of Android development with Kotlin while building a simple weather app using Android Studio.
This week’s lecture will teach you how to implement simple MVVM using ViewBinding, ViewModel and LiveData.
π€ This week’s lecture covers the following questions:
– How to use ViewBinding to replace findViewById() calls?
– How to implement MVVM using LiveData and the Android Architecture Component ViewModel class?
– How to save ViewModel state across device rotation by using view model scopes?
– How to create a ViewModelProvider.Factory to pass arguments to your scoped ViewModel
— lecture outline —
1:17 – Lecture Starts
13:52 – Code Walkthrough Starts
14:00 – ViewBinding
26:00 – ViewModel + LiveData + MVVM
47:20 – ViewModel scoping & handling configuration change
This lecture was recorded in support of a course I’m teaching at North Seattle College.
Slides β‘οΈ https://speakerdeck.com/n8ebel/nsc-ad-340-5210-week-8
This Android development course is aimed at beginner programmers who have some familiarity with Java and object oriented programming, but haven’t necessarily built mobile apps before.
Stay Up To Date
—
π Subscribe to My Channel
https://www.youtube.com/c/goobario?sub_confirmation=1
Helpful Software Development Resources
—
π My Kotlin Book
https://amzn.to/2QB99Pq
π Books That Have Helped Me In My Career
https://www.amazon.com/shop/n8ebel?listId=NR7OQ5R8DNJO
My Office Setup
—
π΄ Livestream & Screen Recording Software
https://www.ecamm.com/mac/ecammlive/?fp_ref=nate39
π₯ Development Hardware
https://www.amazon.com/shop/n8ebel?listId=9X02HRBJ0ZVA
π· My Recording Setup
https://www.amazon.com/shop/n8ebel?listId=1GZ29M2S5KY6K
π Follow Me Online
twitter β‘ https://twitter.com/n8ebel
website β‘ https://goobar.io
instagram β‘ https://www.instagram.com/n8ebel
youtube β‘ https://www.youtube.com/channel/UCVysWoMPvvHQMEJvRkslbAQ
βΉsome links direct to affiliate sites