Serializable or parcelable
-
Hello, I'm French, so sorry for my bad english, and one of my trainer want i ask something in an English forum. Sorry if this question are already ask.. So i'm here ;) I'm a newbie in android development, I learn it with some tutorial i find on web, but I see to transfer an object data from one activity to another activity, We have two possibility, make the object parcelable or serializable, I think I understand the difference beetwen two... But I don't understand what method are better than other, and why .. Or maybe two are good i don't know ... Someone can explain me ? :D
-
Hello, I'm French, so sorry for my bad english, and one of my trainer want i ask something in an English forum. Sorry if this question are already ask.. So i'm here ;) I'm a newbie in android development, I learn it with some tutorial i find on web, but I see to transfer an object data from one activity to another activity, We have two possibility, make the object parcelable or serializable, I think I understand the difference beetwen two... But I don't understand what method are better than other, and why .. Or maybe two are good i don't know ... Someone can explain me ? :D
http://www.developerphil.com/parcelable-vs-serializable/[^] So it looks mostly like a matter of optimization and how lazy you want to be :)