public UserOnboardingPage()
        {
            InitializeComponent();
            orientation = DeviceOrientation.Undefined;

            // hide the status bar for this page
            IStatusBarController statusBarController = IoCManager.Resolve <IStatusBarController> ();

            statusBarController.HideStatusBar();
        }
Esempio n. 2
0
        /// <summary>
        /// Close the page belonging to this viewmodel.
        /// </summary>
        private void ClosePage()
        {
            // hide the status bar
            IStatusBarController statusBarController = IoCManager.Resolve <IStatusBarController> ();

            statusBarController.ShowStatusBar();

            // update the settings to not show this page next time
            Settings.RepeatIntro = false;

            // open the main page
            Navigation.StartNewNavigationStack(new LoadingPageViewModel());
        }