public SettingsPageRootViewModel(IAppNavigation appNavigation) { _appNavigation = appNavigation; GoPage3Command = new Command(async() => { // Add the key to the input string. await _appNavigation.GotoPage3(); }); }