maintaining view state android
<p>Please don't delete it because its a duplicate. I am an android developer with little experience. I have an app with 2 screens. The first has a bunch of options in a <code>TableLayout</code> each selected using a <code>RadioButton</code>.</p>

<p>What I want to do is, when I select one option and click a <code>Button</code> which appears below, the <code>View</code> should switch to the next screen showing some related data and when a <code>Button</code> is clicked I want it to come back to the same screen but then the rest of the options should be available to me so as to repeat the same process with another one of the options selected.</p>

<p>In short I want to be able to maintain the state of the first screen. I can't seem to be able to decide between using <code>ViewSwitcher</code>, <code>ViewFlipper</code>, or multiple <code>Activities</code> or using a single <code>Activity</code> which is what I am doing right now. But as my app gets bigger its very difficult to handle it. Please suggest the best way to do this. I am confused and desperately in need of help because my job depends on it. Thanks in advance</p>
