Save Spinner state between actions
<p>I'm trying to design an application that saves the selection I made on a Spinner even if the application changes (I launch a different one) or I simply navigate between it's differents Activities, including pressing "Back" on my application.</p>

<pre><code>int ALARM_REPEAT = 7;
ArrayAdapter myAdap = (ArrayAdapter) spinFrecEnvio.getAdapter();
int pos = myAdap.getPosition(ALARM_REPEAT);
spinFrecEnvio.setSelection(pos);
</code></pre>

<p>This code refers for the first time I start the Activity with the Spinner. When I change it, how can I make the selection persistent??</p>

<p>Thank you.</p>
