Skip to content

Instantly share code, notes, and snippets.

Joshua yeongjoshua

Block or report user

Report or block yeongjoshua

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yeongjoshua
yeongjoshua / SimpleRecyclerViewDecoration.java
Last active Aug 29, 2015
SimpleRecyclerViewDecoration for adding divider / custom drawable divider in RecyclerView
View SimpleRecyclerViewDecoration.java
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
public class SimpleRecyclerViewDecoration extends RecyclerView.ItemDecoration {
You can’t perform that action at this time.