I have this Android activity/layout with a button. When I click this button, it opens a DialogFragment with 2 spinners. When the DialogFragment shows up, I need to populate thes
I also had a problem when my parent DialogFragment was recreated due to configuration change. I couldn't make the progressDialog to be visible on top again. The solution was to show progressDialog in the onResume() event:
@Override
public void onResume() {
super.onResume();
if (inProgress) {
progressDialog = ProgressDialog.show(ctx, "Report request", "connecting...", true);
}
}