I have a thread handler which handles the looper of a "worker" thread. At some point in my Activity's lifecycle, I am calling "quit" method on the worker thread which releases its current looper. Then what will happen to the (worker) thread handler?
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Thursday, February 16, 2012
What will happen to a handler if the looper it is handling is quit?
Subscribe to:
Post Comments (Atom)
once you call quit on looper, it will discard all the messages in que and will not take further messages.
ReplyDelete