xamarin / AndroidSupportComponents

Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
MIT License
146 stars 56 forks source link

RemovePage in Navigation crash #53

Closed kostadinSpiridonov closed 7 years ago

kostadinSpiridonov commented 7 years ago

Xamarin.Android Version : 7.2.0.7

Operating System & Version: Windows 8.1

Support Libraries Version: 25.3.1

Describe your Issue:

After upgrading the various Xamarin.Android.XXXX packages from 23.3.0 to 25.3.1 with NuGet, an app will crash when using Page.Navigation.RemovePage (for example to remove the page below the top page on the stack) and then Page.Navigation.AsyncPop().

Steps to Reproduce (with link to sample solution if possible):

  1. Add three pages in navigation stasck
  2. Remove one of them with RemovePage method
  3. Call PopAsync method

Expected Results

You will be returned to page 1

Actual Results

The app crashes

Ralle1986 commented 7 years ago

I also have the same problem

jamesmontemagno commented 7 years ago

You would want to support this on the Xamarin.Forms bugzilla as it doesn't pertain to the support libraries.