Example #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            MarksScanner marksScanner = IOSMarksScanner.Instance;

            marksScanner.StartScanning();
            LoginHelper.LoggedOut += marksScanner.StopScanning;
        }
Example #2
0
        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();
        }