xamarin/Xamarin.Forms

Bug 60966 - Can't Navigate To The Same Page Twice

Aperta

#1897 aperta il 16 feb 2018

 (24 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
help wantedinactiveinvalidup-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

COPIED FROM: https://bugzilla.xamarin.com/show_bug.cgi?id=60966

Laura:

Hi, I've created a sample project that demonstrates a bug with the navigation page. It is impossible to navigate to the same page twice. Why is this? Navigating to a new Page object every time I want to go back to the same page is hurting my application's performance.

https://www.dropbox.com/s/c8aqloj60vpvg7h/NavigationCircleBug.7z?dl=0

Melbourne Developer:

This is a colossal monster bug that leaves us flailing and gasping for air.

How are we supposed to build an app where the pages keep getting recreated again and again? It's chewing memory like you wouldn't believe.

We need to be able to navigate to a page twice so that it can be reused. We know that this is possible because you can hit the back button to go back. So why I can't we just navigate to a page twice or more?

Guida contributor