title: Android Spinner get position of string in code behind
body: <p>i have a spinner which i catch onClick like that:</p>
  
  <pre><code>public void onItemSelected(AdapterView&lt;?&gt; parent, View view, int pos, long id) {
          position = pos;
      }
  
      public void onNothingSelected(AdapterView&lt;?&gt; arg0) {
      }
  </code></pre>
  
  <p>I want to check if String for example <code>String example = "example"</code> is in the Spinner ItemList and get its position, Is it possible?</p>