title: Setting the value of the spinner dynamically
body: <p>I have an <code>ArrayAdapter</code> as follows</p>
  
  <pre><code>ArrayAdapter&lt;String&gt;dataAdapter = new ArrayAdapter&lt;String&gt;(this,android.R.layout.simple_spinner_dropdown_item);
  </code></pre>
  
  <p>This is the adapter which I am going to use for my <code>Spinner</code>.I have value sets (String array) for the <code>Spinner</code> in my <code>strings.xml</code> file. </p>
  
  <p>How can I set the <code>&lt;string-array&gt;</code> in <code>string.xml</code> to the spinner pragmatically? Please help!</p>