Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

OnNavigatedFrom() does not work but OnNavigatedTo() does on a INavigatedAware ViewModel

$
0
0

I have a Page A -> Page B -> Page C scenario.

The OnNavigatedTo() method fires for Page C but the OnNavigatedFrom() does not fire no matter what I do, I've tried suspending, closing, and navigating back using hardware back button and nav bar soft back button. Nothing.

I am not overriding the hardware back button or doing any code-behind navigation on** Page C**. I navigate from Page B Viewmodel like
await this.navigationService.NavigateAsync("Page C");

I am using Prism.Forms 7.0.0.396 and worried about how everything will break if I upgrade.
@BrianLagunas


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>