title: How to set ArrayList<HashMap<String, String>> in AlertDialog?
body: <p>How to set ArrayList with HashMap in AlertDialog?</p>
  
  <pre><code>// Creating and Building the Dialog 
  AlertDialog dialogBox = null;
  AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
  builder.setTitle("Select Item:");
  builder.setSingleChoiceItems(items, -1, new DialogInterface.OnClickListener() {
          public void onClick(DialogInterface dialog, int item) {
             switch(item){
                   case 0:
                        // Your code when first option selected
                        break;        
             }
             dialogBox.dismiss();    
          }
  });
  dialogBox = builder.create();
  dialogBox.show();
  </code></pre>
  
  <p>I hope somebody to help me. Thank you in advance.</p>