On Dec 5, 2011, at 3:01 PM, klimaye wrote:
> I have an ArrayAdapter<int> as a datasource to a spinner. The code blows up
> when the adapter tries to get an item. It seems like it works if T is a
> string but not if T is an int. This was working previously for sure.
In fixing array support, I broke array support. Go figure.
http://bugzilla.xamarin.com/show_bug.cgi?id=1522
In this case, ArrayAdapter wants a Java.Lang.Object[], and we (inadvertently)
pass an int[]. Result: boom.
An intermediate fix is to use Java.Lang.Integer.
This has been filed as:
http://bugzilla.xamarin.com/show_bug.cgi?id=2347
Thanks,
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid