title: How to set Spinner Default by its Value instead of Position?
body: <p>I have 1-50 records in the database. I am fetching those data using cursor and set those values to Spinner using Simple Cursor Adapter. Now what i need is i want to set one value say 39th value as default. But not by its position i want to set by its value.</p>
  
  <p>I know how to set the spinner default by its position</p>
  
  <pre><code>   spinner.setSelection(39) 
  </code></pre>
  
  <p>will set the spinner to that value.</p>
  
  <p>But i didn't have any idea about setting the spinner default by its value(text) in the database.
  I know the values in the database. For eg "books" is one of the value in the spinner. I need to set the spinner default as books.</p>
  
  <p>Is there any possible way to do this?</p>