Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
Handlerのマニュアルには以下の記述がある。 | [[http://developer.android.com/reference/android/os/Handler.html|Handlerのマニュアル]]には以下の記述がある。 |
Handler
Handlerのマニュアルには以下の記述がある。
A Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue. Each Handler instance is associated with a single thread and that thread's message queue. When you create a new Handler, it is bound to the thread / message queue of the thread that is creating it -- from that point on, it will deliver messages and runnables to that message queue and execute them as they come out of the message queue.
が、Javaを知ってる人間がこれを読めば頭の中が「?」で埋め尽くされることは必至である。Javaのスレッドにこんな機能は存在しない。 つくづく不親切な記述である。結局のところ、Androidのソースコードを読まなければこの疑問は解決しない。