Exemple #1
0
 private void SetRoot(UIViewController controller)
 {
     if (LoadingHud != null)
     {
         LoadingHud.StopAnimating();
         LoadingHud.Dispose();
         LoadingHud = null;
     }
     KeyWindow.RootViewController = controller;
 }
Exemple #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();
        }