daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Jan 17th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class OverlapDecoration extends RecyclerView.ItemDecoration {
  2.  
  3.     private final static int vertOverlap = -90;
  4.  
  5.     @Override
  6.     public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) {
  7.  
  8.         outRect.set(0, vertOverlap, 0, 0);
  9.  
  10.     }
  11. }
RAW Paste Data
Top