Skip to content

Instantly share code, notes, and snippets.

Avatar

Roy vsona

View GitHub Profile
@ArthurSav
ArthurSav / WrapGridLayoutManager.java
Created Sep 11, 2015
GridLayoutManager with working wrap_content.
View WrapGridLayoutManager.java
package com.inperson.android.utils.leastview;
import android.content.Context;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
public class WrappableGridLayoutManager extends GridLayoutManager {