Sign in Go Pro

RecyclerView

GridLayoutManager and SpanSizeLookup

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson
Autoplay

Up next

Previous

About

Create a Grid layout with spans (columns).

In this lesson we learn:

  • How to create a Grid using GridLayoutManager with our RecyclerView.
  • How GridLayoutManager uses a SpanSizeLookup to lay out it’s items.
  • Examine how small changes can create drastically different grid layouts by creating our own SpanSizeLookup.

Project Link: RecyclerViewCaster.IO

Documentation:

Instructor

Links

Comments

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

>
You need to go PRO to post comments.

Lessons in RecyclerView