title: Android: SingleChoiceItems doesn't work
body: <p>I'm trying to do a Dialog Single Choice Radio Button group but when I execute my code the RadioButton Group doesn't appear.
  Can you please help me?</p>
  
  <p>Code:</p>
  
  <pre><code>public class BaseActivity extends ActionBarActivity {
  
  private int selected1 = 0;
  final CharSequence myList[] = { "A", "B" };
  
  public void currency(){
  
  
      AlertDialog.Builder builder=new AlertDialog.Builder(this);
  
      builder.setMessage("Test");
  
      builder.setSingleChoiceItems(myList, selected1, new DialogInterface.OnClickListener() {
  
          @Override
          public void onClick(DialogInterface dialog, int which) {
              selected1 = which;
              Log.d("BaseActivity", "selected---&gt;" + selected1);
          }
  
      });
  
      builder.create();
  
      builder.show();
  </code></pre>