Пример #1
0
        public App()
        {
            InitializeComponent();

            if (MockDataService)
            {
                TypeLocator.Start();
                MainPage = new NavigationPage(new OnBoardingAnimationPage());
            }
            else
            {
                ListenNetworkChanges();
                if (!SQLiteDatabase.Shared.Initialized)
                {
                    SQLiteDatabase.Shared.Init();
                }

                DataService.TypeLocator.Start();
                MapperConfig.Config();
                GetUserInfo();
            }
            MainPage = new MainPage();
        }