Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

I 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"

try importing the class first and then implement Parcelable

import android.os.Parcelable;

1 Answer

Nikos Tzouvelekis
Nikos Tzouvelekis
8,155 Points

first 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