title: How do you get the selected value of a Spinner?
body: <p>I am trying to get the selected items string out of a <code>Spinner</code>. So far I have gotten this:</p>
  
  <pre><code>bundle.putString(ListDbAdapter.DB_PRI, v.getText().toString());
  </code></pre>
  
  <p>This does not work and gives a class casting exception (I thought I could cast a <code>View</code> to a widget that inherits it. Obviously not!) So how do you get the selected value of a <code>Spinner</code>?</p>