eoecn/android-app — pull request #109 by yulin2 (2014-10-25 21:26:09+00:00)
Title: put db/disk accesses into background thread?

Hi, I'm doing research on performance for Android apps. I found some event handlers access db/disk from UI thread, but Android docs suggest us to avoid such blocking calls in UI thread. Do they lead to any responsiveness issues?

I tried to refactoring by putting them into background tasks (the refactoring also include synchronization to fix data races). Looking forward to see your comments.