code: private void initializeListDialog() {
          MaterialDialog.Builder builder = new MaterialDialog.Builder(getActivity());
          configureHeaderDialogBuilder(builder);
          configureButtonBarDialogBuilder(builder);
          builder.setItems(R.array.list_items, createSingleChoiceListener());
          listDialog = builder.create();
      }
docs: Initializes the list dialog.