Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialyadin michaeli
Courses Plus Student 5,423 PointsDidn't get this Parcelable! :(
Hello.
That starting to be really really confusing i didn't get this Parcelable thing and what it doing please help me understand this!
yadin michaeli
Courses Plus Student 5,423 PointsHello David thank you very much for the answer i think it now clear to me :)
1 Answer
Tonnie Fanadez
UX Design Techdegree Graduate 22,796 PointsOnce you get what parcelable is, there is a plugin that can be downloaded to serialize data.... watch this video https://www.youtube.com/watch?v=CI5IMCCiwbA .
David Tran
Courses Plus Student 12,429 PointsDavid Tran
Courses Plus Student 12,429 PointsI think it may be better explained in future classes? I'm new to this too.
But from what I understand: in Android, we can't pass objects to activities because of the way "activities are created and destroyed". The solution is to serialize the data. Android provides a "Parcelable" interface to do this. The way I think of it, serializing data is translating data from one state to another state so something else can read and use this data on the other side.