How can I make my ProgessDialog uncloseable, so that the user cannot hit the back key, or touch the screen outside of the dialog to dismiss it?
dialog.setCancelable(false);
You need to use setCancelable to false
progressDialog.setCancelable(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With