Android Lists and Adapters Course (How To)
Offered By: Treehouse
Course Description
Overview
A collection of data is often represented in an app in some sort of list. In this course we will learn about the popular Android component called RecyclerView to display and interact with a list of items. We will see how to use some default components as well as building custom lists with our own layouts and adapters.
What you'll learn
- RecyclerView
- ViewHolder
- Adapter
- Android Data Binding Library
- JSONArray
Syllabus
Updating the Data Model
The first thing we need to do is get the list of data we want to display from our Dark Sky API. We will update the data model classes and have it ready to plug into a list.
Chevron 6 steps-
Introducing the Project
2:12
-
Adding a New Data Model Object
7:18
-
Getting the Whole Forecast
4:54
-
Introducing JSONArray
4:45
-
From JSONArray to Java Array
4:35
-
JSONArray Review
5 questions
Displaying Lists of Data
Displaying lists of data in Android can be done in a few different ways. In this stage we'll take a look at how to implement the popular RecyclerView widget for displaying lists.
Chevron 5 steps-
RecyclerView an Overview
3:17
-
Updating the Main Layout
5:28
-
Creating a Custom Layout
12:47
- instruction
Binding Data in the Activity
-
Layout Review
5 questions
Adapters and ViewHolders
Adapters and ViewHolders are part of the Controller portion of the MVC design pattern. Let's see them in action
Chevron 6 steps-
Adapters and the ViewHolder Pattern
1:58
-
Adapter Class & ViewHolder Sub-Class
5:45
-
ViewHolder Review
5 questions
-
Adapting the Adapter
4:48
-
Activity
6:37
-
Adapter & Activity Review
5 questions
Connecting the Data
Our Stormy app needs some minor clean up of data formatting and to be connected to the data from Dark Sky. We'll also look at some performance considerations.
Chevron 5 steps-
Cleaning Up the Data
5:26
-
Getting the Dynamic Data
4:56
-
Enhancing Looks & Performance
2:41
-
Wrapping Up
2:09
-
Data & Performance Review
5 questions
Related Courses
Appointment Booking with Salesforce SchedulerSalesforce via Trailhead Introducción a bases de datos NoSQL con MongoDB
Coursera Project Network via Coursera Introducción a las bases de datos relacionales y SQL
Coursera Project Network via Coursera Data Visualization with Tableau
University of California, Davis via Coursera DAX Functions in Power BI
DataCamp