Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Implement a Staggered Grid View in Android

DZone's Guide to

How to Implement a Staggered Grid View in Android

A staggered grid view includes multiple columns with multiple rows of varying sizes.

· Mobile Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

Android developers looking for some new layout options - in particular a staggered grid view that includes multiple columns with multiple rows of varying sizes - may be interested in this library developed by the Etsy team. It allows for a flexible column/row view with a header and footer and looks fairly easy to implement, though Gradle users will have an easier time than those working with Eclipse and Ant. This is what the view looks like in the Etsy app for which it was developed:

It's all on Etsy's Github, and they've also included a walkthrough to get it all set up, as well as a list of the library's limitations.

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:
library ,mobile ,staggeredgridview

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}