Esempio n. 1
0
 public AlphaApp MakeSureApp()
 {
     if (null == App)
     {
         global::Xamarin.Forms.Forms.Init();
         ImageCircleRenderer.Init();
         OmegaFactory.MakeSureInit();
         App = AlphaFactory.MakeSureApp();
     }
     return(App);
 }
Esempio n. 2
0
 public override void PerformFetch(UIApplication application, Action <UIBackgroundFetchResult> completionHandler)
 {
     OmegaFactory.MakeSureInit();
     AlphaFactory.MakeSureDomain().BackgroundUpdateLastPublicActivityAsync().ContinueWith
     (
         t =>
         completionHandler(UIBackgroundFetchResult.NoData)
         //  UIBackgroundFetchResult.NewData を返すと呼ばれなくなるフシがあるので必ず UIBackgroundFetchResult.NoData
         //  を返しておくようにしてみる。
     );
 }
Esempio n. 3
0
 public AlphaApp MakeSureApp()
 {
     if (null == App)
     {
         global::Xamarin.Forms.Forms.Init();
         global::OxyPlot.Xamarin.Forms.Platform.iOS.PlotViewRenderer.Init();
         ImageCircleRenderer.Init();
         OmegaFactory.MakeSureInit();
         App = AlphaFactory.MakeSureApp();
     }
     return(App);
 }