I\'m trying to make a custom dialog to show a view in this dialog. This is the Builder code:
//Getting the layout LayoutInflater inflater = (LayoutInflater)
I think a better way may be to call
dismissDialog(DIALOG_ID);
Wouldn't making the AlertDialog a class property defeat the purpose of returning a Dialog from the onCreateDialog()?