I need a little advice on navigating the Xamarin Forms Shell. I'm trying to create a page with details. Navigation to the detail page works, but unfortunately the go back no longer works. See gif. Someone where I make a mistake would advise me. Thanks a lot.
My navigation code:
GoToCommand = new RelayCommand(async () =>
{
await Shell.Current.Navigation.PushAsync(new DetailPage(this.TextEntry));
//await Shell.Current.GoToAsync($"{nameof(DetailPage)}?detailtext={this.TextEntry}");
//await Shell.Current.GoToAsync("DetailPage");
});
GoBackCommand = new RelayCommand(async () =>
{
await Shell.Current.Navigation.PopAsync();
//await Shell.Current.GoToAsync("..");
});
Source code: https://filebin.net/nhkar968g5hj7e9m/ShellNavigationTest.rar?t=ctq0geqi