Skip to content

Instantly share code, notes, and snippets.

jiangecho / gist:4dace1e25bf5c9b90143
Created Feb 25, 2016 — forked from yqritc/gist:ccca77dc42f2364777e1
Equal column spacing for Android RecyclerView GridLayoutManager by using custom ItemDecoration
View gist:4dace1e25bf5c9b90143


public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {

    private int mItemOffset;

    public ItemOffsetDecoration(int itemOffset) {
        mItemOffset = itemOffset;
jiangecho /
Created Dec 26, 2015 — forked from lapastillaroja/
Don't break the chain: use RxJava's compose() operator -> Android + Retrolambda + Observable.Transformer cannot find symbol method