title: Fragment, save large list of data on onSaveInstanceState (how to prevent TransactionTooLargeException)
body: <p>In my app, I have Fragment which is inside ViewPager. Fragment contains RecyclerView with list of data fetched from web api based on user selection.</p>
  
  <p>On my Fragment <code>onSaveInstanceState</code> I save list data to Bunde, to keep the data on configuration changes etc.</p>
  
  <pre><code>public void onSaveInstanceState(Bundle savedState) {
      super.onSaveInstanceState(savedState);
      savedState.putParcelableArrayList(LIST_STORAGE_KEY, new ArrayList&lt;&gt;(mItemAdapter.getModels()));
  }
  </code></pre>
  
  <p>Now I have started to see <code>TransactionTooLargeException</code> on my app error reporting.</p>
  
  <p>It seems that in some cases the list which Im putting to Bundle, is too large (as it is collection of quite complex objects).</p>
  
  <p>How should I handle this case? How to store (and restore) my Fragment state.</p>
  
  <p>Is it ok to use <code>setRetainInstance(true)</code> on Fragments inside ViewPager? </p>