kape123 kape123 - 3 months ago 15
Android Question

Android - Loading, please wait

Is there a standard "Loading, please wait" dialog I can use in Android development, when I invoke some AsyncTask (downloading some data from remote service for example)?

Answer

You mean something like an indeterminate ProgressDialog?

Edit: i.e.

ProgressDialog dialog = ProgressDialog.show(context, "Loading", "Please wait...", true);

then call dialog.dismiss() when done.

Comments