New Course: Beginning RecyclerView

Create a basic RecyclerView, then learn how to add ItemDecorations, animations, multiple view types, drag and drop, and swipe-to-delete. By Joe Howard.

Leave a rating/review
Save for later
Share

It’s day 5 of the Android Avalanche: an event where we’ll be releasing new Android and Kotlin books, courses, and screencasts every day!

Today, we are releasing a brand new course: Beginning RecyclerView.

In this 37-video course by Joe Howard, you’ll learn how to use Android’s RecyclerView to efficiently display a list of items. Through a series of hands-on exercises and challenges, you’ll set up a basic RecyclerView, learn to use different layout managers, add animation, and more. Take a look at what’s inside:

Part 1: RecyclerView Basics

In part one, learn to bind model data to RecyclerViews.

Introduction: Find out what’s covered in our RecyclerView video tutorial series, from basic setup to animations and common interactions.

The Starter App: Download the starter app and build it in Android Studio, and take a peek at the included starter layout files.

A Basic RecyclerView: See how to setup a basic RecyclerView, along with the corresponding LayoutManager, Adapter, and ViewHolder.

Binding the Views: Learn how to connect the model data displayed in the RecyclerView to the corresponding objects in the view layer.

Challenge: RecyclerView: Practice what you’ve learned so far to add more data into the rows of the RecyclerView, and then see a solution.

Responding to Clicks: See how to respond to clicks on the rows of the RecyclerView, and take the user to a detail screen for the corresponding row item.

Challenge: Favorites: Take all the basics of RecyclerView that you’ve learned so far to build a Favorites screen for the sample app.

Conclusion: Let’s review what you’ve covered in this first part on RecyclerView basics, and discuss what’s next.

  1. Introduction: Find out what’s covered in our RecyclerView video tutorial series, from basic setup to animations and common interactions.

  2. The Starter App: Download the starter app and build it in Android Studio, and take a peek at the included starter layout files.

  3. A Basic RecyclerView: See how to setup a basic RecyclerView, along with the corresponding LayoutManager, Adapter, and ViewHolder.

  4. Binding the Views: Learn how to connect the model data displayed in the RecyclerView to the corresponding objects in the view layer.

  5. Challenge: RecyclerView: Practice what you’ve learned so far to add more data into the rows of the RecyclerView, and then see a solution.

  6. Responding to Clicks: See how to respond to clicks on the rows of the RecyclerView, and take the user to a detail screen for the corresponding row item.

  7. Challenge: Favorites: Take all the basics of RecyclerView that you’ve learned so far to build a Favorites screen for the sample app.

  8. Conclusion: Let’s review what you’ve covered in this first part on RecyclerView basics, and discuss what’s next.

Part 2: Layout Managers

In part two, learn to use the various RecyclerView layout managers: LinearLayoutManager, GridLayoutManager, and StaggeredGridLayoutManager.

Introduction: Let’s take a quick look at the layout managers that you’ll learn about in this part, and describe the capabilities of each.

LinearLayoutManager: Learn more detail about LinearLayoutManager by creating a horizontal RecyclerView on the detail screen.

Nested RecyclerViews: Create a nested RecyclerView, learn about LinearSnapHelper, and improve performance with a RecycledViewPool.

GridLayoutManager: See how to create a grid of items with RecyclerView using GridLayoutManager, replacing the need for GridView.

Custom Span Size: See how to use varying span sizes within a RecyclerView managed by GridLayoutManager using a span size lookup.

Challenge: Span Size: Practice setting custom span sizes on a RecyclerView managed by GridLayoutManager, then see a solution.

StaggeredGridLayoutManager: Learn how to handle the case of grid items having different natural sizes using StaggeredGridLayoutManager.

Switching Between Span Sizes: Add a menu to allow switching between span sizes for a RecyclerView managed by a StaggeredGridLayoutManager.

Challenge: Layout Managers: Practice what you’ve learned about layout manager to create a grid of items on the detail screen, then see a solution.

Conclusion: Let’s review what you learned about the various RecyclerView layout managers, and discuss what’s next.

  1. Introduction: Let’s take a quick look at the layout managers that you’ll learn about in this part, and describe the capabilities of each.

  2. LinearLayoutManager: Learn more detail about LinearLayoutManager by creating a horizontal RecyclerView on the detail screen.

  3. Nested RecyclerViews: Create a nested RecyclerView, learn about LinearSnapHelper, and improve performance with a RecycledViewPool.

  4. GridLayoutManager: See how to create a grid of items with RecyclerView using GridLayoutManager, replacing the need for GridView.

  5. Custom Span Size: See how to use varying span sizes within a RecyclerView managed by GridLayoutManager using a span size lookup.

  6. Challenge: Span Size: Practice setting custom span sizes on a RecyclerView managed by GridLayoutManager, then see a solution.

  7. StaggeredGridLayoutManager: Learn how to handle the case of grid items having different natural sizes using StaggeredGridLayoutManager.

  8. Switching Between Span Sizes: Add a menu to allow switching between span sizes for a RecyclerView managed by a StaggeredGridLayoutManager.

  9. Challenge: Layout Managers: Practice what you’ve learned about layout manager to create a grid of items on the detail screen, then see a solution.

  10. Conclusion: Let’s review what you learned about the various RecyclerView layout managers, and discuss what’s next.

Part 3: Decorating and Animating

In part three, learn how to use item decorations for spacing and separators and add animation.

Introduction: Learn about the objectives of this part, which are to become familiar with the capabilities of ItemDecoration and to see how to animate items in a RecyclerView.

ItemDecoration: Offsets: See how to use ItemDecoration with a RecyclerView to control the spacing around the items utilizing offsets.

ItemDecoration: Drawing: See how to use ItemDecoration with a RecyclerView to create separators between the elements in a list.

Challenge: ItemDecoration: Practice using ItemDecoration with a RecyclerView to create separators between the items in a grid, then see a solution.

Item Animations: Discover how to use animations to add dynamic effects to the presentation of the items in a RecyclerView.

Challenge: Item Animations: Practice using animations to add dynamic effects to the presentation of the items in a RecyclerView.

Conclusion: Let’s review what you learned about using ItemDecoration and animations with a RecyclerView, and discuss what’s next.

  1. Introduction: Learn about the objectives of this part, which are to become familiar with the capabilities of ItemDecoration and to see how to animate items in a RecyclerView.

  2. ItemDecoration: Offsets: See how to use ItemDecoration with a RecyclerView to control the spacing around the items utilizing offsets.

  3. ItemDecoration: Drawing: See how to use ItemDecoration with a RecyclerView to create separators between the elements in a list.

  4. Challenge: ItemDecoration: Practice using ItemDecoration with a RecyclerView to create separators between the items in a grid, then see a solution.

  5. Item Animations: Discover how to use animations to add dynamic effects to the presentation of the items in a RecyclerView.

  6. Challenge: Item Animations: Practice using animations to add dynamic effects to the presentation of the items in a RecyclerView.

  7. Conclusion: Let’s review what you learned about using ItemDecoration and animations with a RecyclerView, and discuss what’s next.

Contributors

Over 300 content creators. Join our team.