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

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.