Welcome to the Treehouse Community
Looking to learn something new?
How do I make downloading from and uploading to Google Tasks from my ToDo List app work consistently?
Hi. I'm working on the 7th project--Making a ToDo List App--in the Android Development Techdegree track. I have the main features working but am having some problems with downloading from and uploading to Google Tasks. The first time I download or upload, everything works fine. But in subsequent tries, the app freezes. I don't know why this is. could you guys take a look at my code, especially in the MainActivity file, toward the end, and tell me what I'm doing wrong? Here is a link to my project: https://github.com/slim0926/ToDoList Thanks so much, Sue
Seth Kroger56,403 Points
One thing that stands out to me is you're join()ing your threads immediately after start()ing them. Doesn't that defeat the purpose of using a background thread in the first place?