title: Spinner: get state or get notified when opens
body: <p>Is it possible to know whether a <code>Spinner</code> is open or closed? It would even be better if there was some sort of onOpenListener for Spinners.</p>
  
  <p>I've tried using an OnItemSelectedListener like this:</p>
  
  <pre><code>spinnerType.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
  
          @Override
          public void onItemSelected(AdapterView&lt;?&gt; parent, View view, int position, long id) {
              executeSomething();
  
          }
  
          @Override
          public void onNothingSelected(AdapterView&lt;?&gt; parent) {
              Log.d("nothing" , "selected");  
          }
  
      });
  </code></pre>
  
  <p>I can know that the window will close if something is selected (in executeSomething()). But I don't get notified if I click outside of the Dialog, which also closes the spinner</p>