Android Spinner only selects top value
<p>I've tried this a few different ways and all the code does is print out the top value of the spinner. </p>

<pre><code>final String [] equipment=new String[]{//items
  }

ArrayAdapter&lt;?&gt; ad=new ArrayAdapter&lt;Object&gt;(this,android.R.layout.simple_spinner_item,equipment);
ad.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
Spinner spin=(Spinner)findViewById(R.id.spinneritem);
spin.setAdapter(ad);

int position = spin.getSelectedItemPosition();
final String equipmentitem = equipment[position].toString(); 
</code></pre>

<p>From what I can tell that should be able to take the value of the array that the user has selected, but no matter what I select in the list, it only select the first item, and ignores the actual selection.</p>
