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!

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


Leon Kamerlin
Leon Kamerlin
18,728 Points

My app is crashing!?

Here is my GitHub link to my app project: https://github.com/leonkamerlinn/TodoApp

I working on my TodoApp for my Techdeegre.

Problem is when I trying to delete the added category from Drawer Layout.

  1. When you open app first time, then you click on 'New category' on the menu and add a category: it works as expected.

  2. When you delete that category clicking on delete icon on the toolbar: it works as expected.

  3. Do this same process one more time, when you try to delete a category: problem is that the actual category is not deleted.

  4. Rotate the app and then try to delete that category: now the app is crashing.