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 trialdanielplaisimnd
6,837 Pointsfragment issue
how to get rid of the fragment in self-distructing app without getting any errors. thanks
1 Answer
Harry James
14,780 PointsAll you need to do is delete the lines of code with the errors on.
The reason you're getting the errors is because the line is looking for the fragment which no longer exists and, therefore, you no longer need to call it.
Hope it helps and, if you have any more questions, give me a shout! :)