What's the difference between RecyclerView.setItemViewCacheSize and RecycledViewPool.setMaxRecycledViews? : <p>The documentation says that <code>setItemViewCacheSize</code>  </p>

<blockquote>
  <p>sets the number of offscreen views to retain before adding them to the
  potentially shared recycled view pool.</p>
</blockquote>

<p>and <code>setMaxRecycledViews</code> </p>

<blockquote>
  <p>sets the maximum number of ViewHolders to hold in the pool before
  discarding.</p>
</blockquote>

<p>But don't they both function as a cache where views are taken from (i.e., the first sets the number of views cached by the RV, while the second sets that of the RVP)? </p>

<p>Also, when a view is needed, where is it taken first, from the RVP or from the RV's cache?</p>

<p>And what's the optimal (scrolling-wise, ignoring memory) configuration for the two for a simple unnested recyclerview?</p>
