RecyclerView
ItemDecoration Advanced Usage and Customization
Autoplay
Up next
Previous
About
This lesson will show how to use a 3rd party library to implement dividers in your lists. This video will highlight some important aspects of using ItemDecoration.
Lesson Objectives
- Implement a 3rd party library for ItemDecoration, instead of using custom code
- Show ability to place multiple ItemDecorations on a single RecyclerView at the same time
- Add and Remove ItemDecoration while the app is running (not just when initializing the RecyclerView).
Library Implemented
There are a few different libraries for this, I liked "SimpleItemDecoration" , in particular there is a great write-up explaining implementation details of this library, which is worth reading.
Android References
Instructor
Links
Comments
Lessons in RecyclerView
1. Introduction to RecyclerView
03:36
2. Creating a Vertical List
Pro
05:45
3. Reverse Ordering and Horizontal list
Pro
01:59
4. GridLayoutManager and SpanSizeLookup
Pro
02:03
5. Using StaggeredGridLayoutManager for Variably Sized Content
Pro
04:08
6. Using ItemDecoration to Add Dividers to a List

Pro
04:43
7. ItemDecoration Advanced Usage and Customization

Pro
02:50
8. Drag & Drop and Swipe to Dismiss using ItemTouchHelper

Pro
03:50
9. Animating Content Changes

Pro
03:06
10. Animate Complex Content Changes with DiffUtil

Pro
05:19

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty