Update Spinner from other Method
<p>I have a following Spinner in the OnCreate Method:</p>

<pre><code>    spinnerArrayAdapter = new ArrayAdapter&lt;String&gt;(this,   android.R.layout.simple_spinner_item, accounts);
        spinnerArrayAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); // The drop down view
        spinner.setAdapter(spinnerArrayAdapter); 
        spinner.setOnItemSelectedListener(this);
</code></pre>

<p>and I want add some entries to the Spinner in a other Method like this:</p>

<pre><code>spinnerArrayAdapter.add(value.toString());
spinner.setAdapter(spinnerArrayAdapter); 
</code></pre>

<p>but the app crashes. What can I do?
Thanks!</p>
