title: Android, View lifecycle and restore
body: <p>I has a view that is create by</p>
  
  <pre><code>this.vehicleListUI = new GameUIVehicleList();
  this.vehicleListUI.attachGameEngine(myGameEngine);
  </code></pre>
  
  <p>This work fin unto the android destroy and restore the view.
  The Android can recreate the view by use the empty constructor, 
  but my problem is for this <code>GameUIVehicleList</code> will work I most also have the <code>myGameEngine</code>
  object set to the <code>GameUIVehicleList</code></p>
  
  <p>The <code>myGameEngine</code> is not Serializable and can't be this to ( Is a part of UI ) </p>
  
  <p>Exist this a way to restore my View fully by reattach the <code>myGameEngine</code> object
  to a create view.
  This will also be good for enable a lot of "new GameUIVehicleList()" into a XML layout file.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I don't know if this is to some help but way I has this problem from begin is 
  I use a <code>android.support.v4.app.FragmentActivity</code> and this keep to destroy and recreate
  my View object. I can also fix this by override some method in <code>android.support.v4.app.FragmentActivity</code> that is invoke while <code>FragmentActivity</code> is recreate/crate a fragment and for this set the need value from my Activity that hold the need data.</p>