public static ProgressDialogFragment getInstance() { ProgressDialogFragment fragment = new ProgressDialogFragment(); Bundle args = new Bundle(); fragment.Arguments = args; return(fragment); }
public void ShowProgress() { ProgressDialogFragment f = ProgressDialogFragment.getInstance(); this.FragmentManager.BeginTransaction().Add(f, "ProgressDialog").CommitAllowingStateLoss(); }