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 trial

Android Android Lists and Adapters (2015) Using Parcelable Data Retrieving Parcelable Data

I didn't understand anything for this set of videos. Why are we even using parceable arrays. Getting very confusing.

I did not understand the code written for this. I just copied all the code. Can someone help in having a more clear idea about parsing arrays.

Judah Devasahayam Sorry for late reply, been out. I did not get the idea of implementing the parceable class and so using the other methods of the class.

Alex Londono
Alex Londono
2,033 Points

Seriously how the fuck does anyone learn to use this on their own? I'm just "Shut up and type". If I stop and look at wtf is going on, my brain just wants to cry.

Judah Devasahayam
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Judah Devasahayam
Full Stack JavaScript Techdegree Graduate 22,610 Points

SANKET THAKUR I'm very sorry for replying so late! I had paused my account for quite some while. What Parcelable basically does is, it restores/writes instances or objects of a class from Parcel object. Instances are initialised in the Parcel object which wraps all the instances (in our case we stored all the instances in private Day(Parcel in){}) so that it can be shipped to other classes/activity. Later this data is received and unwrapped by using the Parcelable array.