Example #1
0
 private void SetRoot(UIViewController controller)
 {
     if (LoadingHud != null)
     {
         LoadingHud.StopAnimating();
         LoadingHud.Dispose();
         LoadingHud = null;
     }
     KeyWindow.RootViewController = controller;
 }
Example #2
0
        protected override void OnShowLoadIndicator(string title)
        {
            if (topViewController == null)
            {
                InitializeViews();
            }

            if (LoadingHud == null)
            {
                LoadingHud = new LoadSpinner(GetResourceString("Loading"));
            }

            LoadingHud.Title = title;
            LoadingHud.StartAnimating();
        }