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 Build a Self-Destructing Message Android App Using Fragments for Tabs Modifying Tabs from the Template

Rodrigo Rocha
Rodrigo Rocha
4,042 Points

Some things are different now

Hello, I think that some things are different from this video but there is no a problem. There is a new class called PlaceholderFragment that makes the things more easily and the public Fragment getItem(int position) method in the SectionsPagerAdapter class have only one line of code now.

The PlaceholderFragment class was in the MainActivity class just like SectionsPagerAdapter class. I extracted this class in the same way that was made in this video. But this time when you organize imports, you will have two options to choose from. v4 support and v13 support libraries.

Rodrigo Rocha
Rodrigo Rocha
4,042 Points

Hi Ben Jakuben maybe you'll need to review somethings here.

1 Answer

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Thanks for the heads up! I've started the process of refreshing my courses because of these types of differences. I'm about to publish a new version of Build a Simple Android App and will hopefully get to this course before too long. Let us know here in the Forum if you come across any differences that keep you from progressing.