code: protected void recycleByRenderState(RecyclerView.Recycler recycler, RenderState renderState) {
          if (renderState.mLayoutDirection == RenderState.LAYOUT_START) {
              recycleViewsFromEnd(recycler, renderState.mScrollingOffset);
          } else {
              recycleViewsFromStart(recycler, renderState.mScrollingOffset);
          }
      }
docs: Helper method to call appropriate recycle method depending on current render layout
  direction
  
  @param recycler    Current recycler that is attached to RecyclerView
  @param renderState Current render state. Right now, this object does not change but
  we may consider moving it out of this view so passing around as a
  parameter for now, rather than accessing {@link #mRenderState}
  @see #recycleViewsFromStart(com.twotoasters.android.support.v7.widget.RecyclerView.Recycler, int)
  @see #recycleViewsFromEnd(com.twotoasters.android.support.v7.widget.RecyclerView.Recycler, int)
  @see com.twotoasters.android.support.v7.widget.LinearLayoutManager.RenderState#mLayoutDirection