Example #1
0
 /// <summary>
 /// 关闭自定义ProgeressDialog提示
 /// </summary>
 public static void DismissLoadingDialog()
 {
     if (mLoadingDialog != null && mLoadingDialog.IsShowing)
     {
         mLoadingDialog.Dismiss();
         mLoadingDialog = null;
     }
 }
Example #2
0
 public static void ShowLoadingDialog(Context content, String message)
 {
     if (mLoadingDialog == null)
     {
         mLoadingDialog = new MyLoadingDialog(content, Resource.Style.myDialog, message);
     }
     mLoadingDialog.Show();
 }