Esempio n. 1
0
		protected void ShowHud ()
		{
			Hud = new MBProgressHUD (Util.MainWindow){
				Mode = MBProgressHUDMode.Indeterminate,
			};
			Util.MainWindow.AddSubview (Hud);
			Hud.Show (true);
		}
Esempio n. 2
0
		protected void ShowHud ()
		{
			Hud = new MBProgressHUD (this.View){
				Mode = MBProgressHUDMode.Indeterminate,
			};
			this.View.AddSubview (Hud);
			Hud.Show (true);
		}
Esempio n. 3
0
		protected void HideHud ()
		{
			if (Hud == null)
				return;
			
			Hud.Hide (true);
			Hud.RemoveFromSuperview ();
			Hud = null;
		}
Esempio n. 4
0
		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);
		}