private int getListLeft(RecyclerView view) {
    if (view.getLayoutManager().getClipToPadding()) {
      return view.getPaddingLeft();
    } else {
      return 0;
    }
  }
Determines if an item is obscured by a header


@param parent
@param item        to determine if obscured by header
@param header      that might be obscuring the item
@param orientation of the {@link RecyclerView}
@return true if the item view is obscured by the header view
library/src/main/java/com/timehop/stickyheadersrecyclerview/HeaderPositionCalculator.java