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 Sending Messages Selecting Recipients

Creates fragment automatically

Creates fragment automatically

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Are you referring to the fact that RecipientsActivity gets created with a Fragment? That has been a frustrating update to the Android tools that has been causing a bit of confusion. Sorry for my delayed response.

I will need to update this video, but in the mean time, you can either remove the Fragment or make the changes to the Activity in the videos to the Fragment instead. They are very similar; you will just need to add code in the onCreateView() method of the Fragment instead of the onCreate() method, and you would need to update the Fragment layout instead of the Activity layout.

If you choose to remove it, you can follow the steps shown starting at the 2:00 mark of this video.

Yeah, I saw the note for the solution in a different video. I'd suggest just making sure that note is in the teacher's note section of every video that requires creating a new activity until the videos are updated.

Also, the reason why you might see some weird messages from me in the forum is because I can't figure out how to navigate from a specific video to the forum discussion about that video without creating a new discussion first. Just some UI feedback.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Thanks for the feedback. I need to audit the course again to see where these issues are popping up so I can add all the relevant notes.

The Forum issue you've mentioned is something we've specifically talked about and hope to have a solution for soon. We want to link directly to relevant Forum posts from the video page. No worries about your workaround!