You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SweetAlertDialogdialog = newSweetAlertDialog(context, SweetAlertDialog.PROGRESS_TYPE);
...
// show for the first timedialog.show();
...
dialog.dismissWithAnimation(); // prefer this because of the cool animation
...
// reuse the dialog and show it againdialog.show(); // this won't work properly, the window dims, but dialog won't show up, and you can't click anything on the window
If I use dialog.dismiss() inherited from Dialog instead of dialog.dismissWithAnimation(), then I am able to reuse that dialog.
The text was updated successfully, but these errors were encountered:
@cokeby190 I've already gave up using SweetAlertDialog since months ago. I am using app compat v7's AlertDialog, it's official library and fully support a perfect Material Design look. It's pretty handy and I suggest you to use that as well.
If I use
dialog.dismiss()
inherited from Dialog instead ofdialog.dismissWithAnimation()
, then I am able to reuse that dialog.The text was updated successfully, but these errors were encountered: