public void ContinueToRandomTestView() { if (RandomTestViewModel == null) { RandomTestViewModel = new RandomTestViewModel(); } RunOnUIThread(() => _navigator.NavigateTo <RandomTestViewModel> ()); }
public void ContinueToRootView() { if (RootViewModel == null) { RootViewModel = new RootViewModel(); } if (LexiconViewModel == null) { LexiconViewModel = new LexiconViewModel(); } if (NewWordViewModel == null) { NewWordViewModel = new NewWordViewModel(); } if (LearningViewModel == null) { LearningViewModel = new LearningViewModel(); } //LearningViewModel.LoadData (); if (RandomTestViewModel == null) { RandomTestViewModel = new RandomTestViewModel(); } if (IntroductionViewModel == null) { IntroductionViewModel = new IntroductionViewModel(); } RunOnUIThread(() => { _navigator.NavigateTo <RootViewModel> (); }); }