Exemplo n.º 1
0
 public async static void TriggerUIBindings()
 {
     if (!((Application.Current.MainPage as NavigationPage).CurrentPage is ILoadingPage))
     {
         FuturePage.TriggerBindingManually();
     }
     else
     {
         ((Application.Current.MainPage as NavigationPage).CurrentPage as ILoadingPage).TriggerBindingManually();
     }
 }
Exemplo n.º 2
0
 public async static void ToggleUI()
 {
     if (!((Application.Current.MainPage as NavigationPage).CurrentPage is ILoadingPage))
     {
         FuturePage.ToggleLoading();
     }
     else
     {
         ((Application.Current.MainPage as NavigationPage).CurrentPage as ILoadingPage).ToggleLoading();
     }
 }