title: Android Spinner.setSelection() doesn't work
body: <p>I'm having a spinner which is populated with a <code>CursorAdapter</code>. Now when creating that spinner (dynamically) I want to set a default selection different to 0 (0 being the first item in the <code>CursorAdapter</code> list)</p>
  
  <p>So I got a setter for that job that is just called after the object has been created. But for some reason, no matter what I pass in that setter, 0 always is passed to the <code>onItemSelected()</code> method within the Spinner's <code>OnItemSelectedListener</code>.</p>
  
  <p>HOWEVER if I just wait till the first initial selection happened and run my setter again, everything works fine. So, to make it more clear here is what I see in the debugger:</p>
  
  <ul>
  <li>object (spinner) is created</li>
  <li>spinner listener is attached</li>
  <li>setter is run, a number, lets say 4 (the spinner contains way more than 4 selections) is passed to the <code>setSelection()</code> method</li>
  <li>WAIT A BIT</li>
  <li>NOW <code>onItemSelected()</code> is run the first time, but the position given to that method is 0!</li>
  <li>WAIT A BIT MORE</li>
  <li>again we run the setter </li>
  <li>again <code>onItemSelected()</code> is run, THIS TIME, the position given is 4 as it was supposed to be!</li>
  </ul>
  
  <p>Now that's wired. It doesn't seem to be possible to set that spinner till the first initial selection, which is always 0, was run. So why is it the way it is and what can I do to set the initial selection?</p>