On Dec 12, 2011, at 1:38 AM, Rhyous wrote:
> I am getting this error too. The documentation states this should work.
> http://docs.monodroid.net/index.aspx?link=T%3aAndroid.Widget.ArrayAdapter
> 
> I have created a very simple sample project that duplicates this issue.
> http://www.rhyous.com/wp-content/uploads/2011/12/TestCustomObjectInArrayAdapter.zip

I'm sorry, this is: http://bugzilla.xamarin.com/show_bug.cgi?id=2347

The short term workaround is to change the 
TestCustomObjectInArrayAdapter.Device type to inherit Java.Lang.Object.

> Sure I can do that, but I'd like to know what changed from version 1.2 to
> version 4.0 that causes the same, previously acceptable, code to now fail.

What happened is it regressed when I fixed a different array-handling bug:

        http://bugzilla.xamarin.com/show_bug.cgi?id=1522

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to