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 trialFabio Sasso
2,625 PointsI can't get the implement methods for Parcelable. The only option available is ParcelableCompat.
I dont have the options to implement Parcelable. I have this options: "public class Day implements ParcelableCompat" but if I try to auto correct it changes the "implements" to "extends"
1 Answer
Nikos Tzouvelekis
8,155 Pointsfirst import: import android.os.Parcelable; at imports
after this write : public class Day implements Parcelable
this appears a error because this class must have two more things ... see the next video
also see again this video from start to the end :)
don't try auto correct
Taylor Bryant
7,395 PointsTaylor Bryant
7,395 Pointstry importing the class first and then implement Parcelable
import android.os.Parcelable;