public void ExecuteNewGame(object nothing) { DataResource.SaveEntries(); MessagingCenter.Send(new StopLongRunningTaskMessage(), "StopLongRunningTaskMessage"); NavigationMessage.PutData <bool> ("GameInProgress", false); App.Current.MainPage.Navigation.PushAsync(new GamePlay()); }
public void ExecuteResumeGame(object nothing) { DataResource.SaveEntries(); App.Current.MainPage.Navigation.PushAsync(new GamePlay(NavigationMessage.GetData <Game> ("ActiveGame"))); }