Crash when scrolling on Android 7.x (problem seen in example project too)
See original GitHub issueHi Daniel,
I have a problem with the FlowListView in my app. On Android 4.4 and Android 6 (Samsung galaxy s5) it works flawlessly, but on Android Nougat ( 7.x) my app crashes when scrolling after the screen has been filled with images. I also reproduced the problem in your sample application, in the Update items grouped example.
What can I do to fix this?
Here there is the stack trace:
at Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (System.Int32 position, Android.Views.View convertView, Android.Views.ViewGroup parent) [0x000ef] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ListViewAdapter.cs:223 at Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 position, System.IntPtr native_convertView, System.IntPtr native_parent) [0x0001a] in /Users/builder/data/lanes/3511/501e63ce/source/monodroid/src/Mono.Android/platforms/android-23/src/generated/Android.Widget.BaseAdapter.cs:443 at (wrapper dynamic-method) System.Object:c292c97d-ebcc-4bd6-8985-3d51c66bc96e (intptr,intptr,int,intptr,intptr)
Maybe is it a problem with grouping Lists? I couldn’t reproduce in the Simple Gallery section
EDIT: I think it’s the grouping, because it’s giving this error just in that examples! EDIT2: It seems an unresolved bug of Xamarin Forms with android 7, as noticed. https://bugzilla.xamarin.com/show_bug.cgi?id=51429 https://bugzilla.xamarin.com/show_bug.cgi?id=51645 https://bugzilla.xamarin.com/show_bug.cgi?id=51704
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (5 by maintainers)
Top GitHub Comments
@daniel-luberda Let’s hope! Thank you both for your time!
There were several bugs, maybe they’re fixed in Xamarin.Forms 2.4?