private void SetRoot(UIViewController controller) { if (LoadingHud != null) { LoadingHud.StopAnimating(); LoadingHud.Dispose(); LoadingHud = null; } KeyWindow.RootViewController = controller; }
protected override void OnShowLoadIndicator(string title) { if (topViewController == null) { InitializeViews(); } if (LoadingHud == null) { LoadingHud = new LoadSpinner(GetResourceString("Loading")); } LoadingHud.Title = title; LoadingHud.StartAnimating(); }