public override void OnActivated(UIApplication application)
 {
     if (_stepCounter == null)
     {
         _stepCounter = new StepCounterController(new System.IntPtr());
     }
     _stepCounter.RefreshView();
 }
示例#2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            _stepCounter = new StepCounterController(new System.IntPtr());
            UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);

            Xamarin.Insights.Initialize(Helpers.Keys.InsightsKey);

            return(true);
        }
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {        
            _stepCounter = new StepCounterController(new System.IntPtr());
            UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);

            Xamarin.Insights.Initialize(Helpers.Keys.InsightsKey);

            return true;
        }
 public override void OnActivated(UIApplication application)
 {
     if (_stepCounter == null)
         _stepCounter = new StepCounterController(new System.IntPtr());
     _stepCounter.RefreshView();
 }