Example #1
0
        public static AndroidHUD.MaskType ToProgressHUDMaskType(this ToastMaskType maskType)
        {
            switch (maskType)
            {
            case ToastMaskType.Clear: return(MaskType.Clear);

            case ToastMaskType.Black: return(MaskType.Black);

            case ToastMaskType.Gradient: return(MaskType.Black);

            case ToastMaskType.None:
            default: return(MaskType.None);
            }
        }
Example #2
0
 public void Show(string status = null, float progress = -1F, ToastMaskType maskType = ToastMaskType.Clear)
 {
     AndHUD.Shared.Show(Context, status, -1, MaskType.Clear);
 }
 public void Show(string cancelCaption, Action cancelCallback, string status = null, float progress = -1, ToastMaskType maskType = ToastMaskType.Clear)
 {
     ProgressHUD.Shared.Show(cancelCaption, cancelCallback, status, progress, maskType.ToProgressHUDMaskType());
 }
 public void ShowContinuousProgress(string status = null, ToastMaskType maskType = ToastMaskType.Clear)
 {
     ProgressHUD.Shared.ShowContinuousProgress(status, maskType.ToProgressHUDMaskType());
 }
 public void Show(string status = null, float progress = -1, ToastMaskType maskType = ToastMaskType.Clear)
 {
     ProgressHUD.Shared.Show(status, progress, maskType.ToProgressHUDMaskType());
 }