HttpClient.ViewController.RenderError C# (CSharp) Method

RenderError() public method

public RenderError ( string s ) : void
s string
return void
		public void RenderError (string s)
		{
			InvokeOnMainThread (() => {
				TheLog.Value = $"Error: {s}";
				TheButton.Enabled = true;
			});
		}

Usage Example

Ejemplo n.º 1
0
 public override void FailedWithError(NSUrlConnection connection, NSError error)
 {
     viewController.RenderError(error.LocalizedFailureReason);
 }