StaggeredGridView Example

Introduction The StaggeredGridView allows the user to create a GridView with uneven rows similar to how Pinterest looks. Includes own OnItemClickListener and OnItemLongClickListener, selector, and fixed position restore. Setup To use StaggeredGridView in your projects, simply add this project to your workspace then add it as a library project to your current project. Usage Attributes supported (same behavior as GridView): numColumns : determines the amount of columns to be drawn drawSelectorOnTop : determine if selector should be drawn on top <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:staggered="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/mainLayout"> <com.origamilabs.library.views.StaggeredGridView> android:id=...