daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Jan 17th, 2018 67 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top