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
Is there a way to prevent the auto dismissal of alert dialog when the buttons are clicked? Providing a method in the builder class would be really great.
The text was updated successfully, but these errors were encountered:
There is a MaterialAlertDialogBuilder.setCancelable(boolean), which I think is exactly what you're looking for.
Let me know if this doesn't solve your issue and I will re-open.
Hello, yes there is setCancelable however even if you set it to false clicking the buttons will automatically dismiss the dialog. The dismissal of dialog when button is clicked is always guaranteed no matter if setCancelable is true or false. This is an old issue actually even from plain AlertDialog, I think MaterialAlertDialog should at least fixed that?
Is there a way to prevent the auto dismissal of alert dialog when the buttons are clicked? Providing a method in the builder class would be really great.
The text was updated successfully, but these errors were encountered: