Recyclerview GridLayoutManager - what is a span?

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Oct 15, 2018, 3:40:33 PM via Website

I'm trying to create a recyclerview that has 3 columns.
I understand that I should use a GridLayoutManager for it.

I'm looking at this link:
developer.android.com/reference/android/support/v7/widget/GridLayoutManager

It says: "By default, each item occupies 1 span."
My experience with grids is that they are comprised of columns and rows.

What is an item and what is a span?

Be the first to answer

Recommended articles