Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Best practices for back to previous page

$
0
0

Hi, I want to know how manage back function with Prism and NavigationService. I have the follow scenario:

PageA(params2pageB) ->PageB ->Page C

When I navigate from PageA I send NavigationParameters to PageB and when I navigated from PageB to PageC all its ok, but if I call GoBackAsync() function from PageC to PageB, the params received in OnNavigatingTo() (PageB) will be null and the PageB can't display properly.

What is the best practice for this scenario? It's possible execute GoBackAsync() without OnNavigatingTo() function fires?

Thanks!


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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