Hi,

> Not followed the rest of the thread, but this is what I often do for 
> Serializable objects to be able to use them as strings:
> 
> public class Foo
> {
>     public override string ToString()
>     {
>         return Serialize(this);
>     }
> 
>     public static Foo Deserialize(string serializedData)
>     {
>         if (string.IsNullOrEmpty(serializedData))
>             return new Foo();
> 
>         XmlSerializer serializer = new XmlSerializer(typeof(Foo));
>         StringReader reader = new StringReader(serializedData);
>         return (Foo)serializer.Deserialize(reader);
>     }

Pretty much, this is what I expect I need to do, but the question is, if
I use PutExtra in the intent, where does it appear in the receiving
methods?

Paul
-- 
Vertraue mir, ich weiss, was ich mache...

_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to