Why do I loose information on screen orientation change and not on exiting and reentering the app
<p>I found several questions regarding this and it appears that I have to correctly use onSavedInstanceState and onRestoreInstanceState methods.  </p>

<p>My application creates an array of cards and shows them in a gridview, each grid containing a textview.</p>

<p>While in the app, after adding cards; if I go out of the application using the menu button, everything resumes fine after comming back. However, on orientation change all the 'table' is reset; all the cards have to be added again.</p>

<p>So, why do I loose information on screen orientation change and not on exiting and reentering the app. How can I fix that?</p>

<p>The mentioned methods only have this:</p>

<pre><code>@Override
protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);  
}

@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
    super.onRestoreInstanceState(savedInstanceState);

}
</code></pre>

<p>My onCreate method begins with:</p>

<pre><code>super.onCreate(savedInstanceState);
</code></pre>
