How to display a AlertDialog with a progressbar spinner?
When a button is pressed i want it to block the UI until the data is finished loading displaying a spinner and a message and title.
i know i will need to use an asyncTask for this but how do i go about displaying the dialog with progressbar spinner?
This should be all you need
ProgressDialog progressDialog = ProgressDialog.show(YourClassName.this, "", "Please wait");
Hope this helps
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