Exemplo n.º 1
0
        protected override void OnDisappearing()
        {
            Model.End();
            RecordStorage.SaveLocalData();
            var page = new QuizResultPage(new QuizResultViewModel(Model));

            NavigationPage.SetHasNavigationBar(page, false);
            Navigation.PushAsync(page);
            base.OnDisappearing();
        }
Exemplo n.º 2
0
        protected override bool OnBackButtonPressed()
        {
            RecordStorage.SaveLocalData();

            return(base.OnBackButtonPressed());
        }