找回密码
 立即注册
相关推荐换一批
  1. TB/T 2302-92 铁路车站货车篷布运用管理作业标准
  2. YY 91010~91011-1999 牙科旋转器械配合尺寸牙科旋转器械基本尺寸和标号
  3. YY 0765.1-2009 一次性使用血液及血液成分病毒灭活器材 第1部分:亚甲蓝病毒灭活器材
  4. YY/T 1229-2014 钙测定试剂(盒)
  5. YY/T 0464-2019 一次性使用血液灌流器
  6. YY/T 0573.4-2020 一次性使用无菌注射器 第4部分:防止重复使用注射器
  7. YY 0450.1-2020 一次性使用无菌血管内导管辅件 第1部分:导引器械
  8. YY/T 1730-2020 一次性使用血液透析导管
  9. YY 0336-2020 一次性使用无菌阴道扩张器
  10. YY/T 1690-2020 一次性使用聚氯乙烯输注器具中2-氯乙醇残留量测定方法
  11. YY/T 1799-2020 可重复使用医用防护服技术要求
  12. YY/T 1773-021 一次性使用腹膜透析外接管
  13. YD/T 3254-2017 Ku 频段移动中使用的车载卫星通信地球站通用技术要求
  14. SN/T 3701.10-2014 进口旧机电产品检验技术要求第10部分:叉车
  15. YD/T 2870-2015 卫星通信地球站设备车载(移动中使用)天线和伺服系统测试方法
  16. SN/T 3901-2014 生物安全柜使用和管理规范
  17. GB/T 14513.3-2020 气动 使用可压缩流体元件的流量特性测定 第3部分:系统稳态流量特
  18. SN/T 4387-2015 进出口一次性使用卫生用品检验规程
  19. T/CMA JY047-2021加油机在线监督管理规范
  20. HG/T 2195-2013 代替 HG 2195-2001 航空轮胎使用与保养
  21. GB 8369.2-2020 一次性使用输血器第2部分:压力输血设备用
  22. SN/T 0967-2000 进出口一次性使用输液、输血器检验规程
  23. GB/T 39498-2020 消费品中重点化学物质使用控制指南
  24. GB/T 24611-2020 滚动轴承 损伤和失效术语、特征及原因
线程AndroidThe使用 | android开发 2022-11-09 90 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Android使用程序与传统的PC使用程序相同,都是消息驱动的。也就是说,在Android使用程序主线程中,一切函数都是在一个消息循环中履行的。Android使用程序其它线程,也可以像主线程相同,具有消息循环。Android使用程序主线程是一个特别的线程,由于它同时也是UI线程以及触摸屏、键盘等输入事情管理线程。主线程对消息循环很灵敏,一旦发作堵塞,就会影响UI的流通度,甚至发作ANR问题。这个PPT讲Android使用程序线程消息循环原理,首要涉及到Handler和Looper两个类,以及依据消息循环的不同使用场景,总结出三种线程使用模型。掌握Android使用程序消息管理机制,有助于我们熟练地使用同步和异步编程,提升程序的运行性能

(The Android application is the same as the traditional PC application, which is message driven. In other words, in the main thread of Android application, all functions are performed in a message loop. Android uses other threads of the program, which can also have a message loop like the main thread. The main thread of Android application is a special thread, because it is also the UI thread and the input event management thread such as touch screen and keyboard. The main thread is very sensitive to the message loop. Once it is blocked, it will affect the flow of the UI, and even cause an ANR problem. This PPT talks about the principle of message loop of Android application thread, mainly involving Handler and Looper, and summarizes three thread usage models according to different usage scenarios of message loop. Mastering the message management mechanism of Android application will help us skillfully use synchronous and asynchronous programming and improve the running performance of the program)

[下载]10382810668.rar




上一篇:Dalvik虚拟机
下一篇:Android应用程序UI架构