title: Using ArrayAdapter with AlertDialog and .setAdapter
body: <p>My code goes inside an OnOptionsItemSelected method. I've tried displaying a simple toast and it works fine, so at least I know I'm "getting there".</p>
  
  <pre><code>ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.select_dialog_multichoice);
  adapter.add("whatever data1");
  adapter.add("whatever data2");
  adapter.add("whatever data3");
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setTitle("whatever title");
  builder.setAdapter(adapter, new DialogInterface.OnClickListener() {
      public void onClick(DialogInterface dialog, int item) {
  
      }
  });
  </code></pre>
  
  <p>The problem is that there's no alert dialog. I've tried constructing an alert dialog with simple arrays, which works.</p>