protected void ShowHud () { Hud = new MBProgressHUD (Util.MainWindow){ Mode = MBProgressHUDMode.Indeterminate, }; Util.MainWindow.AddSubview (Hud); Hud.Show (true); }
protected void ShowHud () { Hud = new MBProgressHUD (this.View){ Mode = MBProgressHUDMode.Indeterminate, }; this.View.AddSubview (Hud); Hud.Show (true); }
protected void HideHud () { if (Hud == null) return; Hud.Hide (true); Hud.RemoveFromSuperview (); Hud = null; }
protected void ShowHud (string title = null) { Hud = new MBProgressHUD (Util.MainWindow){ Mode = this.HUDMode, TitleText = title, TitleFont = UIFont.SystemFontOfSize(14f), //DetailText = title, }; Util.MainWindow.AddSubview (Hud); Hud.Show (true); }