Saving Application State in Android
<p>I am writing an app where I get all the data from the rest call and display all the data in a custom component list(based on Linear Layout) which is added to a <code>LinearLayout</code>. I write this code in <code>onCreate</code> of the activity.</p>

<p>The problem is when I switch activity using <code>startActivity</code>, and come back to the calling activity (using <code>startActivity</code>) then <code>onCreate</code> is called again. I see <code>onPause</code>, <code>onStop</code> called when I call other activity.</p>

<p>Is there any way that I can save the application's state?</p>
