On May 19, 2012, at 10:42 PM, Igor Russkih wrote:
> Another question. I've found that after that change, I also have to fix 
> adapters with radio buttons (require boolean value in hash):
> 
> Old code
> 
>                         item["radio"] = new false;
> New code
>                         item["radio"] = new Java.Lang.Boolean(false);
> 
>                 Adapter = new SimpleAdapter(this, items, 
> Resource.Layout.bt_list_item, new string[] { "text", "descr", "radio" },
> 
> What is the reason behind that? Why can't you do type autoconversion here?

The reason is I hadn't noticed that until after we branched for release. ;-)

The next 4.2.2 release should fix that.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to