void ShowProgressDialog(string status) { progressDialog = new ProgressDialogFragment(status); var trans = SupportFragmentManager.BeginTransaction(); progressDialog.Cancelable = false; progressDialog.Show(trans, "progress"); }
protected override void OnPreExecute() { progressDialog = new ProgressDialogFragment(context.GetString(Resource.String.text_download_file)); var tran = context.SupportFragmentManager.BeginTransaction(); progressDialog.Cancelable = false; progressDialog.Show(tran, context.GetString(Resource.String.text_name_fragment_progress)); base.OnPreExecute(); }
internal static bool ShowLoading(Context context, string message) { ((Activity)context).RunOnUiThread(() => { _progressDialog = new ProgressDialogFragment(); _progressDialog.Initialize(context, message, string.Empty); _progressDialog.Show(); }); return(true); }
public void StartProgress() { mProgressFragment.Show(mFragmentManager, "progress"); }