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

Are there a possibility to get back the root page of the Navigation Page in a fancy way?

$
0
0

We are using a Xamarin Forms Navigation Page in our product. I have a root page, which contains a list with items on it. But there's a possibility to add new items through a workflow which leads more page in the navigation (added with PushAsync). At the end, if the workflow succeeds, I want to add an item to the first page.

I can achieve my goal if I pop exactly the exact number of page which was pushed in it. Also, PopToRootAsync is void and doesn't give back the root page for us.
But are there a fancy way to get back to the first page and add one item more item to the list passed through as a parameter?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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