On Jul 9, 2012, at 12:31 PM, craig wrote:
> If I use the example you provided, it causes a compile error:
>       set {Adapter = (T) value;} 
> 
> 
>       Error   4       Cannot convert type 'Java.Lang.Object' to 'T'

Ah; that just needs an intermediate cast:

        set {Adapter = (T) (object) value;}

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to