How to convert "../NewPage" route to nalu navigation? #54
Answered
by
albyrock87
CodingOctocat
asked this question in
Q&A
-
I don't quite understand how to navigate, my navigation path is: CreateNewPage.xaml.cs await Shell.Current.GoToAsync($"../{Routes.NewPage}", navigationParameter);
// Is this correct?
await _navigationService.GoToAsync(Navigation.Relative().Pop().Push<NewPageViewModel>().WithIntent(navigationParameter)); |
Beta Was this translation helpful? Give feedback.
Answered by
albyrock87
Dec 4, 2024
Replies: 1 comment
-
then what you can do is either:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CodingOctocat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@CodingOctocat if
RootPage
is yourShellContent
RootPage
->CreateNewPage
->NewPage
RootPage
->SomeOtherPage
then what you can do is either:
Navigation.Relative().Pop().Pop().Push<SomeOtherViewModel>()
Navigation.Absolute().ShellContent<RootViewModel>().Push<SomeOtherViewModel>()