Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-13 Thread andyjohnson0
Thanks for the comprehensive reply Jonathan. Since the need to use a wrapper object seems to be a common problem, I think that the framework should provide a standard class for this. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Type-systems-java-lang-Object-and-

Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-13 Thread andyjohnson0
Interesting use of extension methods - I'm not sure I would ever have thought of that. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Type-systems-java-lang-Object-and-System-Object-tp5710827p5710864.html Sent from the Mono for Android mailing list archive at Nabbl

Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-11 Thread Jonathan Pryor
On Jul 11, 2012, at 7:02 AM, andyjohnson0 wrote: > In a recent MfA project I needed to link UI elements (derived from View) to > their corresponding data model object (derived from System.Object). The most > natural way to do this was to use the View.Tag property. Since this is a > java.lang.Obj

Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-11 Thread Matthew Leibowitz
Have a look at this thread: http://mono-for-android.1047100.n5.nabble.com/Convert-net-type-to-Java-Lang-Object-how-td5710021.html#a5710144 It seems that a few people are doing this already. Maybe the mono guys could include it in the main set? Matthew On Wed, Jul 11, 2012 at 1:02 PM, andyjohns