@Override protected void onProgressUpdate(Integer... ints) { super.onProgressUpdate(ints); dialog.setProgress(ints[0]); }