title: Android Long Press Spinner View
body: <p>I want to be able to long press items in the spinner view and have a contextMenu appear. I tried this code:</p>
  
  <pre><code>spinner = (Spinner) findViewById(R.id.catagorySpinner);
  ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(context,android.R.layout.simple_dropdown_item_1line, data);
  spinner.setAdapter(adapter);
  registerForContextMenu(spinner);
  </code></pre>
  
  <p>but as you can guess this added a context menu to the actual Spinner and not to the contents inside. Does anyone know how i can do this?    </p>