/// <summary> /// Display a progress dialog inside of a DialogFragment. /// </summary> private void ShowIndeterminateProgressDialog() { MyProgressDialog progressDialog = FragmentManager.FindFragmentByTag("progress_dialog") as MyProgressDialog; if (progressDialog == null) { var tx = FragmentManager.BeginTransaction(); progressDialog = new MyProgressDialog(); progressDialog.Show(tx, "progress_dialog"); } }
/// <summary> /// Display a progress dialog inside of a DialogFragment. /// </summary> void ShowIndeterminateProgressDialog() { MyProgressDialog progressDialog = FragmentManager.FindFragmentByTag(PROGRESS_DIALOG_TAG) as MyProgressDialog; if (progressDialog == null) { var tx = FragmentManager.BeginTransaction(); progressDialog = new MyProgressDialog(); progressDialog.Show(tx, PROGRESS_DIALOG_TAG); } }
/// <summary> /// Display a progress dialog inside of a DialogFragment. /// </summary> private void ShowIndeterminateProgressDialog() { MyProgressDialog progressDialog = FragmentManager.FindFragmentByTag ("progress_dialog") as MyProgressDialog; if (progressDialog == null) { var tx = FragmentManager.BeginTransaction (); progressDialog = new MyProgressDialog (); progressDialog.Show (tx, "progress_dialog"); } }