android.os.handler


Author: yifei / Created: July 6, 2017, 6:48 p.m. / Modified: July 6, 2017, 7:39 p.m. / Edit

android.os.handler 用于向每个线程的 MessageQueue 发送消息。

There are two main uses for a Handler:

(1) to schedule messages and runnables to be executed as some point in the future; and

(2) to enqueue an action to be performed on a different thread than your own.


评论区