Android 12 Developer Preview is here! Try it out, and give us your feedback!

Lesson 10: Advanced RecyclerView use cases

Learn advanced binding and layouts with RecyclerView, and how to handle multiple types in a RecyclerView.

 

RecyclerView fundamentals

Codelab

Use a RecyclerView in your Android app to efficiently display a list of items.

DiffUtil and data binding with RecyclerView

Codelab

Learn additional techniques that make RecyclerView more efficient for large lists, as well as making your code easier to maintain and extend for more complex UIs.

GridLayout with RecyclerView

Codelab

Replace the list of sleep data displayed by the RecyclerView in the TrackMySleep app with a grid layout of sleep data.

Interacting with RecyclerView items

Codelab

Make items in the RecyclerView clickable so that when an item is tapped, the user navigates to a detail screen.

Quiz

Earn your badge for completing Lesson 10: Advanced RecyclerView use cases.