[mono-android] Being driven insane....
Paul Johnson
paul at all-the-johnsons.co.uk
Wed Nov 23 10:20:40 EST 2011
Hi,
This is driving me mad....
I have a class called foo with [Serialize] above it to serialize it.
In the main tab constructor, I have
Bundle b;
b.PutSerializable("data", foo);
intent.PutExtras(b);
Should be ok, except for PutSerializable it needs to be Java.IO.ISerializable
Putting (Java.IO.ISerializable)foo doesn't cut it either.
I don't know what the difference is between a C# and Java serializable
object is.
So you can see it in context, I've uploaded my project...
http://www.all-the-johnsons.co.uk/android/AndroidTimeOfDeath.zip
I'm trying to find a simple way to pass a class between tabs and it's
annoying me now!
Any help would be appreciated.
Thanks
Paul
More information about the Monodroid
mailing list