xamarin/Xamarin.Forms

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

开放

#1,897 创建于 2018年2月16日

 (24 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
help wantedinactiveinvalidup-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南