Hi,
Jonathan Pryor-2 wrote > >> In the main tab constructor, I have >> >> Bundle b; >> b.PutSerializable("data", foo); >> intent.PutExtras(b); > > This is not what you think it is. Java.IO.ISerialzable != > System.Runtime.ISerializable. They have _completely_ different semantics, > not least is that you can't actually, properly, implement > Java.IO.ISerializable at this time, as it requires private Java methods > which can't be generated right now. > > In short, this won't work. > Ah.... (hears penny drop) >> I'm trying to find a simple way to pass a class between tabs and it's >> annoying me now! > > If all your tabs are in the same process, just use a `public static` field > or similar. > > If a tab will be in a different process, the easiest route is XML > serialization, or a ContentProvider. > Are there any code examples of these specific to Mono for Android? This is seriously annoying me now. I've used XML before now in another app which is easy enough to do, but does seem overkill. Looking on the docs for the ContentProvider, it seems to be best suited to apps sharing data rather than sharing within the app itself. Thanks for everything so far :) Paul -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Being-driven-insane-tp5016975p5017159.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid