title: Remove default value of Spinner Item in Android
body: <p>I have a Spinner loaded with data from a database.</p>
  
  <p>Unfortunately, every time the android activity (inside which the spinner exists) begins, the first item of the spinner gets selected automatically by default.</p>
  
  <p>Is there a way to prevent this i.e. I don't want the first item of the spinner to get selected automatically unless and until selected by the user. In fact, I don't want any of the item to get selected until one being selected by the user. How can this be done?</p>
  
  <p><strong>Update 1:</strong></p>
  
  <p>I noticed something peculiar. When beginning an activity containing a Spinner which is populated with the spinner items locally stored in java (inside array), the toast displays the first spinner item as getting selected by default.</p>
  
  <pre><code>However, the peculiar thing is
  </code></pre>
  
  <p>When beginning an activity containing a Spinner which is populated with spinner items stored in a database, the toast isn't displaying the first spinner item as getting selected. Now, this pretty much solves my problem. But, even if I want to choose the first spinner item, I had to select some other spinner item, getting the toast for the some other spinner item and then </p>
  
  <pre><code>selecting the first item displays a toast saying that the first item being selected
  </code></pre>
  
  <p><strong>When do I notice such peculiar thing happening?</strong></p>
  
  <p>I was trying out all possible means (at least most of them suggested in StackOverFlow) <em>to prevent</em> the spinner from selecting the first spinner item by default. I was noticing the above peculiar behavior every time I tried getting rid of the problem (with suggestions as mentioned from StackOverFlow). What I further noticed is that, the peculiar thing was happening even for other spinners that are getting populated with items from database.</p>
  
  <p>ok, that's too much of text. But, has anyone got an explanation?</p>