What is the difference when a class extend from Handler and Thread? (In Android framework)

Posted by XC on Stack Overflow See other posts from Stack Overflow or by XC
Published on 2010-03-18T06:44:46Z Indexed on 2010/03/18 7:51 UTC
Read the original article Hit count: 140

Filed under:

What is the difference when a class extend from Handler and Thread?

As described in developer.android.com
... Each Handler instance is associated with a single thread and that thread's message queue. ...

Does the thread has no message queue ?

Any benefit for a class extend from Handler?

© Stack Overflow or respective owner

Related posts about android