Practice using ItemDecoration with a RecyclerView to create separators between the items in a grid, then see a solution.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4568-beginning-recyclerview/lessons/22