Answers for "ProgressDialog java android"

0

custom progressdialog android

private AlertDialog progressDialog;
progressDialog = new SpotsDialog(mContext, R.style.Custom);

//Am using it in an AsyncTask. So in  my onPreExecute, I do this:
public void onPreExecute() {
  super.onPreExecute();
  progressDialog.show();
  ...
 }

//dismiss in onPostExecute
public void onPostExecute(){
   progressDialog.dismiss();
 }
Posted by: Guest on May-02-2020
0

custom progressdialog android

dependencies {
...
   compile 'com.github.d-max:spots-dialog:0.4@aar'
}
Posted by: Guest on May-02-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language