Hello,
I noticed that you used nameof(Mobile.Country)
to register the shell route, and called it by Shell.Current.GoToAsync($"Mobile.Country")
.
As a matter of fact, when you use nameof(Mobile.Country)
, the value of it would be the class name Country
, not Mobile.Country
.
Therefore, it should be the cause of your issue.
You could use Shell.Current.GoToAsync($"{nameof(Mobile.Country)}")
to execute the navigation event.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.