Setting default values in spinner in android
<p>I am using a spinner using following code</p>

<pre><code>   private String `DEFAULT_CURRENCY_TYPE`;


  ArrayAdapter&lt;CharSequence&gt; adapter = new ArrayAdapter&lt;CharSequence&gt;(this, android.R.layout.simple_spinner_item, currenciesDataSource.keys); 
            adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
            paidIn.setAdapter(adapter);
</code></pre>

<p>I want to do something like that <code>paidIn.setDefault(DEFAULT_CURRENCY_TYPE)</code></p>

<p>Meaning whenever i create spinner it compare its values with my default values and then set it as first element. How can i do that? </p>

<p>Best Regards</p>
