[mono-android] Non-serializable types in Monodroid?

DocM derek at fieldmetrix.com
Tue Dec 6 11:30:20 EST 2011


Paul,

If you haven't already solved this try adding the missing constructor to the
common class:

    [Serializable] 
    public class common 
    { 
        public int p, a, w, pa; 
        public double bodyWeight, tempBody, tempSurround; 
        public double[,] correctionData = new double[3, 20]; 
        public double[,] iterations = new double[3, 20]; 
        public double c, b, cas; 
        public string s; 
  
       // add missing constructor
       public common()
       {}

    }

I haven't found any issues with the serialization yet :)

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Non-serializable-types-in-Monodroid-tp5029261p5052635.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list