title: RecyclerView detaches view still visible
body: <p><strong>Current scenario</strong></p>
  <p>I'm using this library <a href="https://github.com/kanytu/android-parallax-recyclerview" rel="nofollow noreferrer">https://github.com/kanytu/android-parallax-recyclerview</a> to achieve a parallax effect on a RecyclerView. So far, so good. However I would like get an effect like Google Newsstand where the header is still bellow the cards.</p>
  <p><strong>Problem</strong></p>
  <p>The problem is that RecyclerView (or LinerLayoutManager) detaches the header view the moment the first element of the list touches the top of the parent view:</p>
  <p><img src="https://i.stack.imgur.com/om5VS.gif" alt="enter image description here" /></p>
  <p>As you can see the moment the first cardview touches the top is the moment RecyclerView detaches the header.</p>
  <p>I'm sure that there is no problem on the logic itself I get <code>RecyclerView.findViewHolderForPosition(0) == null</code> when the card reaches the top. Proving that the header is recycled.</p>
  <p><strong>Tried Solutions</strong></p>
  <p>I tried many things like:</p>
  <p><a href="https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder.html#setIsRecyclable(boolean)" rel="nofollow noreferrer">ViewHolder.setIsRecyclable</a> using this method to set the holder to not recycler doesn't do any effect.</p>
  <p><a href="https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager.html#ignoreView(android.view.View)" rel="nofollow noreferrer">LayoutManager.ignoreView</a> I tried marking the view to be ignored from being discarded and recycling. The result was an exception saying:
  <code>Trying to recycle an ignored view holder. You should first call stopIgnoringView(view) before calling recycle.</code></p>
  <p><a href="https://developer.android.com/reference/android/support/v7/widget/RecyclerView.html#setItemViewCacheSize(int)" rel="nofollow noreferrer">setItemViewCacheSize</a> Doesn't do anything. Tried calling <code>setItemViewCacheSize(50)</code> and it doesn't do anything to the header.</p>
  <p><a href="https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool.html#setMaxRecycledViews(int,%20int)" rel="nofollow noreferrer">setMaxRecycledViews</a> Tried setting the max of recycled views with viewType=HEADER to 0 and it still recycles it.</p>
  <p><strong>Conclusion</strong></p>
  <p>So I question if there is anyway to mark the item for not getting detached until I order so (like checking if it's still visible and then detach it).</p>
  <p>There is also an issue on the github about it: <a href="https://github.com/kanytu/android-parallax-recyclerview/issues/7" rel="nofollow noreferrer">https://github.com/kanytu/android-parallax-recyclerview/issues/7</a></p>