Beginning RecyclerView
Mar 23 2018 · Video Course (1 hr, 36 mins) · Beginner
You will learn how to create a basic RecyclerView, then learn how to add ItemDecorations, animations, multiple view types, drag and drop, and swipe-to-delete.
Version
- Kotlin 1.2, Android 4.4+, Studio 3.0.1
RecyclerView Basics
Introduction
4:02Find out what's covered in our RecyclerView video tutorial series, from basic setup to animations and common interactions.
1The Starter App
3:01Download the starter app and build it in Android Studio, and take a peek at the included starter layout files.
2A Basic RecyclerView
7:44See how to setup a basic RecyclerView, along with the corresponding LayoutManager, Adapter, and ViewHolder.
3Binding the Views
1:31Learn how to connect the model data displayed in the RecyclerView to the corresponding objects in the view layer.
4Practice what you've learned so far to add more data into the rows of the RecyclerView, and then see a solution.
5Responding to Clicks
1:36See how to respond to clicks on the rows of the RecyclerView, and take the user to a detail screen for the corresponding row item.
6Challenge: Favorites
3:23Take all the basics of RecyclerView that you've learned so far to build a Favorites screen for the sample app.
7Conclusion
1:07Let's review what you've covered in this first part on RecyclerView basics, and discuss what's next.
8Layout Managers
Introduction
1:41Let's take a quick look at the layout managers that you'll learn about in this part, and describe the capabilities of each.
9LinearLayoutManager
5:16Learn more detail about LinearLayoutManager by creating a horizontal RecyclerView on the detail screen.
10Nested RecyclerViews
4:44Create a nested RecyclerView, learn about LinearSnapHelper, and improve performance with a RecycledViewPool.
11GridLayoutManager
5:52See how to create a grid of items with RecyclerView using GridLayoutManager, replacing the need for GridView.
12Custom Span Size
1:29See how to use varying span sizes within a RecyclerView managed by GridLayoutManager using a span size lookup.
13Challenge: Span Size
1:06Practice setting custom span sizes on a RecyclerView managed by GridLayoutManager, then see a solution.
14Learn how to handle the case of grid items having different natural sizes using StaggeredGridLayoutManager.
15Add a menu to allow switching between span sizes for a RecyclerView managed by a StaggeredGridLayoutManager.
16Practice what you've learned about layout manager to create a grid of items on the detail screen, then see a solution.
17Conclusion
1:07Let's review what you learned about the various RecyclerView layout managers, and discuss what's next.
18Decorating and Animating
Introduction
1:26Learn 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.
19See how to use ItemDecoration with a RecyclerView to control the spacing around the items utilizing offsets.
20See how to use ItemDecoration with a RecyclerView to create separators between the elements in a list.
21Practice using ItemDecoration with a RecyclerView to create separators between the items in a grid, then see a solution.
22Item Animations
2:33Discover how to use animations to add dynamic effects to the presentation of the items in a RecyclerView.
23Practice using animations to add dynamic effects to the presentation of the items in a RecyclerView.
24Conclusion
0:44Let's review what you learned about using ItemDecoration and animations with a RecyclerView, and discuss what's next.
25Section Headers and View Types
Introduction
0:36Learn about the objectives of this part, which are to become familiar with using different view types in a RecyclerView.
26See how to sort the items displayed in a RecyclerView into groups and then add section headers to the groups.
27Multiple View Types
3:13Use view types to customize the display of items displayed in a RecyclerView, based on the type of the item.
28Practice using view types to customize the display of certain items in a RecyclerView, then see a solution.
29Conclusion
0:41Let's review what you learned about using view types for items displayed in a RecyclerView, and discuss what's next.
30Common Interactions
Introduction
0:43Learn about the objectives of this part, which are to become familiar with common interactions with a RecyclerView, such as drag and drop and swipe-to-delete.
31Item Touch Helper
1:12Discover the capabilities and use cases for combining the ItemTouchHelper class with a RecyclerView.
32Rearranging Rows
3:55See how to use ItemTouchHelper to create a basic capability to rearrange the items in a RecyclerView.
33See how to setup drag handles and item selection highlighting using ItemTouchHelper with a RecyclerView.
34Practice using ItemTouchHelper to allow for drag and drop rearrangement of the items displayed in a grid via a RecyclerView
35Swipe to Delete
2:14See how to use ItemTouchHelper to add a basic swipe-to-delete capability for the items in a RecyclerView.
36Conclusion
2:30In this final episode, we'll summarize the course, and then see an overview of RecyclerView topics that were not covered.
37
Comments