title: How to capture onClick event in Android for a spinner
body: <p>I want to capture the onClick event when the user selects a spinner value.</p>
  
  <p>I've tried implementing <code>OnClickListener</code> and using the following code:</p>
  
  <pre><code>@Override
  public void onClick(final View view) {
    if (view == countrySpinner) {
      Toast.makeText(this, "Override OK!", 3);
    }
  }
  </code></pre>
  
  <p>And binding with:</p>
  
  <pre><code>countrySpinner.setOnClickListener(this);
  </code></pre>
  
  <p>This compiles, but I get a <code>RuntimeException</code> advising me to use <code>OnItemClickListener</code> rather than <code>OnClickListener</code> for an <code>AdapterView</code>.</p>
  
  <p>How can I capture that onClick event?</p>