title: how to add item in Spinner Android
body: <p>How to add item from str in spinner? I tryed with ArrayList, ArrayAdapter but didn't work...</p>
  
  <pre><code>String[] str={"item 1","item 2","item 3"}; 
  Spinner s=(Spinner)findViewById(R.id.spinner);
  </code></pre>