Android Handle

来源:互联网 发布:淘宝属于阿里巴巴吗 编辑:程序博客网 时间:2024/06/09 05:52

Handler运行基本原理:

1、Handle把消息对象放入消息队列尾中;handler.obtainMessage();

2、Looper从消息队列头取出消息对象;

3、Looper把消息交给Handler处理。handleMessage(Message msg)



0 0
原创粉丝点击