public override void ViewDidLoad() { base.ViewDidLoad(); MarksScanner marksScanner = IOSMarksScanner.Instance; marksScanner.StartScanning(); LoginHelper.LoggedOut += marksScanner.StopScanning; }
protected void StartMainApp() { MarksScanner marksScanner = AndroidMarksScanner.GetInstance(context: this); marksScanner.StartScanning(); LoginHelper.LoggedOut += marksScanner.StopScanning; Intent mainTabs = new Intent(this, typeof(TabsActivity)); mainTabs.SetFlags(ActivityFlags.ClearTop | ActivityFlags.SingleTop); StartActivity(mainTabs); Finish(); }