I want to show ProgressDialog but ProgressDialog never really rendered ! And I want to end this process to start next state. this is my code:
ProgressDialog
I use
ProgressDialog dialog = ProgressDialog.show(className.this, "", "Loading. Please wait...", true); //Do stuff dialog.dismiss();