title: Alert Dialog doesn't show radio buttons
body: <p>I have an <code>alertDialog</code> with the following code :</p>
  <pre><code>AlertDialog.Builder b = new AlertDialog.Builder(Activity.this);
  String[] types = getResources().getStringArray(R.array.text_spinner_NewClass_dayList);
  b.setSingleChoiceItems(types, 2, (dialog, which) -&gt; {
              textView.setText(types[which]);
              dialog.dismiss();
          }
  );
  b.show();
  </code></pre>
  <p>I want to show all radio buttons of items but it only shows the selected item.</p>
  <p><a href="https://i.stack.imgur.com/0z5WX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0z5WX.png" alt="enter image description here" /></a></p>