MonoMobile.Views.ProgressHud.Show C# (CSharp) Method

Show() public method

public Show ( bool animated ) : void
animated bool
return void
		public void Show(bool animated)
		{
			_Window.AddSubview(this);

			_UseAnimation = animated;
			
			// If the grace time is set postpone the HUD display
			if (GraceTime > 0.0)
			{
				_GraceTimer = NSTimer.CreateScheduledTimer(GraceTime, HandleGraceTimer);
			} 
			else
			{
				// ... otherwise show the HUD imediately 
				SetNeedsDisplay();
				ShowUsingAnimation(_UseAnimation);
			}
		}