title: In the Activity onSaveInstanceState () inside Bundle to save data appears strange?
body: <p>Activity inside viewpage, I have to set up the adapter, and save the data, the code is probably as follows:</p>
  
  <pre><code>List &lt;Fragment&gt; mFragments = new ArrayList &lt;&gt; ();
  mFragments.add (AFragment);
  mFragments.add (BFragment);
  mFragments.add (CFragment);
  </code></pre>
  
  <p><code>onSaveInstanceState ()</code> inside the code below:</p>
  
  <pre><code>bundle.putSerializable ("key", (Serializable) mFragments);
  </code></pre>
  
  <p>This time I switch the screen orientation <code>onSaveInstanceState</code> method call, whether it is saving data or restore data are normal.</p>
  
  <p>But I am now in the interior of A, B, C just a fragment starts the camera to take pictures, that they will report Parcel: unable to marshal value <code>AFragment {6afa2b}</code> this error. After lookup is calling <code>onSaveInstanceState()</code> inside <code>bundle.putSerializable ("key", (Serializable) mFragments);</code> sentence being given. </p>
  
  <p>I do not know why not? Great god who seek help ah.</p>