MvvmCross / MvvmCross-AndroidSupport

Android support library packages for MvvmCross: The .NET MVVM framework for cross-platform solutions.
http://mvvmcross.com
15 stars 0 forks source link

Crash in Support Example #184

Closed Ryan-Palmer closed 8 years ago

Ryan-Palmer commented 8 years ago

If you page around the pager adapters and navigate around the app for just a minute or so, you get a null ref exception on line 158 of MvxfragmentPagerAdapter2. This is : var f = _fragmentManager.GetFragment(bundle, key); and the exception is: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference

vecalion commented 8 years ago

I created a bit more descriptive issue with a sample project and detailed steps how to reproduce the exception: https://github.com/MvvmCross/MvvmCross-AndroidSupport/issues/229