Sign in Go Pro


ItemDecoration Advanced Usage and Customization

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Up next



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



There are no comments on this lesson, start the conversation below ...


Lessons in RecyclerView