title: onclick on a spinner?
body: <p>Hy,i need to have an onclick on a spinner.
  This is my spinner:</p>
  
  <pre><code>Spinner spinner = (Spinner) findViewById(R.id.spnTarghe);
  final String targhe[]=risposta.split("/");
  ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(
          this,
          android.R.layout.simple_spinner_item,
          targhe
          );
  adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  
  spinner.setAdapter(adapter);
  </code></pre>
  
  <p>How can I do for use an onclicklistener that do this simple istruction:</p>
  
  <pre><code>        sTarga=targhe[position];
  </code></pre>