/// <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");
            }
        }
Exemple #2
0
        /// <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);
            }
        }
Exemple #3
0
        /// <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");
            }
        }