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

Eric De Wildt
PLUS
Eric De Wildt
Courses Plus Student 13,077 Points

Back from Edit Friends List

I have been having some problems when I click back from the edit friends list. When I click the back button from that activity the app will display the case/switch list called from the camera button. Some how the back button is invoking the call to that intent....or so I assume. Does anybody know how I go about finding and fixing this issue?

3 Answers

Paul Stevens
Paul Stevens
4,125 Points

Hello :) Try this video from later in the series: http://teamtreehouse.com/library/build-a-selfdestructing-message-android-app/selfdestruction/deleting-the-whole-message

Start viewing at 03:40. It should sort the problem you are having by inserting break's into the switch statement.

Hope it helps. :D

Eric De Wildt
PLUS
Eric De Wildt
Courses Plus Student 13,077 Points

Break statements!!!!!! I would have got to that video eventually but I am so grateful for your assistance.