Skip to content

Instantly share code, notes, and snippets.

@jiangecho
jiangecho / README.md
Created December 26, 2015 09:47 — forked from lapastillaroja/README.md
Don't break the chain: use RxJava's compose() operator -> Android + Retrolambda + Observable.Transformer cannot find symbol method
@jiangecho
jiangecho / gist:4dace1e25bf5c9b90143
Created February 25, 2016 06:09 — forked from yqritc/gist:ccca77dc42f2364777e1
Equal column spacing for Android RecyclerView GridLayoutManager by using custom ItemDecoration

ItemOffsetDecoration

public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {

    private int mItemOffset;

    public ItemOffsetDecoration(int itemOffset) {
        mItemOffset = itemOffset;
    }