KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a thread I use to periodically update the data in my Activity. I create the thread and start a looper for using a handler with postDelay() . In onDestroy() for my activity, I call removeCallbacks() on my handler. Should I then call handler.getLooper().quit() ? Or not worry about it and let the OS deal with it? Or would it just run forever then, consuming CPU cycles?
Tags (comma-separated)
Save Edits
Cancel