Example #1
0
        public void RecycleInitialScreens()
        {
            if (_logonScreen != null)
                _logonScreen.Recycle();
            _logonScreen = null;

            if (_progressScreen != null)
                _progressScreen.Recycle();
            _progressScreen = null;
        }
Example #2
0
        void StartApplication(Settings settings)
        {
            Settings = settings;

            Settings.ReadSettings();
            Settings.WriteSettings();

            _logonScreen = new LogonScreen(BaseActivity, Settings, LoadApplication);
            _progressScreen = new ProgressScreen(BaseActivity, Settings);

            AppContext = new AndroidApplicationContext(BaseActivity, Settings, LoadComplete);
            AppContext.LoadingProgress += _progressScreen.Progress;
            AppContext.ReturnToStartMenu += OpenStartScreen;

            ExceptionHandler = new ExceptionHandler(Settings, BaseActivity, AppContext);
            HandleLastError();
        }