Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Possible bug in newer versions of xamarin forms listview

$
0
0

I'm not sure if it is a bug, or if I'm doing something wrong, but it seems that ViewCellRenderer has stopped working in all versions of xamarin forms after 1.3.5.6335. My entire project relies on custom viewcells, so that is kind of a problem. I made a simple project to reproduce the problem. It works with 1.3.5.6335 but not with 1.3.5.6337 or 1.4.0.6341 where it fails with error:

System.Diagnostics.Debugger.Mono_UnhandledException (ex={System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (int,Android.Views.View,Android.Views.ViewGroup)
at Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (intptr,intptr,int,intptr,intptr) [0x0001a] in /Users/builder/data/lanes/monodroid-mlion-monodroid-4.21-series/9e05e39f/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Widget.BaseAdapter.cs:460
at (wrapper dynamic-method) object.0e0073ff-03ab-48df-abc2-b71bed77fd41 (intptr,intptr,int,intptr,intptr)
})

Project can be found rarred at:

http://downloads.hylas.be/ListViewTest.rar


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>