Week 3 – Kotlin Android Development Course for Beginners // Displaying List Data With RecyclerView



Week 3 – Kotlin Android Development Course for Beginners // Displaying List Data With RecyclerView

Week 3 - Kotlin Android Development Course for Beginners // Displaying List Data With RecyclerView

This is lecture 3 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 display dynamic data using a RecyclerView. You’ll write a RecyclerView implementation using Kotlin and manage RecyclerView click handling to display feedback to a user.

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-3

🤔This week’s lecture covers the following questions:
– How to display dynamic content in an app?
– How to display large collections of data?
– How to architect your app to provide data to your Activity?
– What is MVVM?
– What is LiveData?
– How to model data with Kotlin data classes?
– How to create a RecyclerView Adapter?
– How to bind data using a RecyclerView ViewHolder?
– How to define an onClickHandler for your RecyclerView?
– How to format String resources?

— Lecture Outline —
0:25 – Outline
2:17 – Project Demo
3:56 – Displaying Dynamic Data
5:05 – Dynamic view containers // ScrollView, ListView, ViewPager
6:57 – RecyclerView
7:50 – Why RecyclerView?
16:47 – Defining A Data Model
20:00 – Modeling data with Kotlin data classes
24:25 – What is LiveData?
28:08 – Implementing A RecyclerView
29:23 – Creating a data class to model daily weather forecasts
31:50 – Creating a data repository
32:04 – Using LiveData to expose data from a repository
49:54 – Adding a RecyclerView to your layout xml file
52:37 – How to use Logcat to understand why your app crashed
54:58 – Add RecyclerView dependency to your build.gradle file
57:52 – How to add margin to your RecyclerView using ConstraintLayout design view?
1:01:57 – How to implement a RecyclerView Adapter using Kotlin?
1:30:38 – Add touch feedback to RecyclerView list items
1:40:00 – How to format String resources?

📚Additional Resources
Kotlin String Templates
https://www.youtube.com/watch?v=RV85LsYZGW4&list=PLEPZdzLLJH95CnKw-StVhMcwo7MIkXu4x&index=4&t=0s

Kotlin Companion Objects & Object Expressions
https://www.youtube.com/watch?v=yvQV70Rb8bw&list=PLEPZdzLLJH95CnKw-StVhMcwo7MIkXu4x&index=10&t=0s

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

Comments are closed.