Showing a List in Android Alert Dialog

Turns out if you use the AlertDialog.Builder you can not use the .setMessage() method and any of the list methods such as .setItems, .setMultichoiceitems(), or .setSingleChoiceItems(). If you do the Alert Dialog will only show what was defined in SetMessage().

I foolishly spent the better part of an hour before thinking to google the exact problem I was having and found the answer here.

public Dialog onCreateDialog(Bundle savedInstanceState) {
        stateAdapter = new StateAdapter(getActivity(),android.R.layout.select_dialog_item,states);
        AlertDialog.Builder ADBuilder = new AlertDialog.Builder(getActivity());
        ADBuilder.setTitle("Select State");

        ADBuilder.setSingleChoiceItems(stateAdapter,-1,new DialogInterface.OnClickListener() {
            public void onClick(DialogInterface dialogInterface, int i) {

        AlertDialog ad = ADBuilder.create();
        return ad;