public AndroidSchedulerProvider(IAnalyticsService analyticsService)
        {
            MainScheduler = new HandlerScheduler(new Handler(Looper.MainLooper), analyticsService)
                            .ToTrackingScheduler(analyticsService);

            DefaultScheduler = Scheduler.Default
                               .ToTrackingScheduler(analyticsService);

            BackgroundScheduler = NewThreadScheduler.Default
                                  .ToTrackingScheduler(analyticsService);
        }
示例#2
0
 public AndroidSchedulerProvider()
 {
     MainScheduler       = new HandlerScheduler(new Handler(Looper.MainLooper), Looper.MainLooper.Thread.Id);
     DefaultScheduler    = Scheduler.Default;
     BackgroundScheduler = NewThreadScheduler.Default;
 }
 public AndroidSchedulerProvider(IAnalyticsService analyticsService)
 {
     MainScheduler       = new HandlerScheduler(new Handler(Looper.MainLooper), Looper.MainLooper.Thread.Id, analyticsService);
     DefaultScheduler    = new TrackedSchedulerWrapper(Scheduler.Default, analyticsService);
     BackgroundScheduler = new TrackedSchedulerWrapper(NewThreadScheduler.Default, analyticsService);
 }