Or maybe there is another way to use Parcelable from your lib project into your main project regarding the classLoader ? Can someone help me on this matter ?
Thanks. On Wednesday, July 25, 2012 5:54:36 PM UTC+3, Marius Constantin wrote: > > To be more specific, I have 2 projects and one of them serves as Android > Lib Project for the second one. In the lib project I have a ProductModel > which extends a Parcelable and in the constructor ProductModel(Parcel in) I > have this line > :*relation=in.readParcelable(AbstractIntermediaryCatalogElement.class.getClassLoader()); > > *Now in the primary project I have another Parcelable model which > contains this ProductModel as a child and when I am trying to create a copy > from it I am getting the up-mentioned error. I tried to understand the > entire architecture of the Parcel class and I think that at some point the > ProductModel could not find the classLoader for the > AbstractIntermediaryCatalogElement.class so guys if you encounter the same > please help me on this matter. > > Thank you in advance, > Marius Constantin. > Android Developer at EastBridgeIT. > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

