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

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.