In XamarinForms, I have a page in a navigationPage and I want to navigate to another instance of the same page. Is is possible?
I´m using navigationService.NavigateAsync($"NavigationPage/{pageKey}", parameters);
but it is not doing any navigation, it stay in the same page.
Asked
Active
Viewed 171 times
2

Jorge Diego
- 21
- 3
-
Is `NavigatedTo` called for your second navigation? – Haukinger Apr 22 '22 at 12:27
-
google `xamarin prism have two instances of same page` shows several similar questions, including https://stackoverflow.com/q/7906156/199364 and https://stackoverflow.com/questions/55716729/navigation-issue-in-xamarin-forms-with-same-page-type-multiple-time. – ToolmakerSteve Apr 22 '22 at 21:47
-
`NavigateTo` is not called in the second navigation – Jorge Diego Apr 25 '22 at 11:18
-
see this thread:https://stackoverflow.com/questions/50254146/xamarin-forms-prism-onnavigatedto-calling-twice – Alexandar May - MSFT Apr 26 '22 at 09:18