找回密码
 立即注册
AndroidThe组件化组件 | android开发 2022-11-09 53 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Android使用开发的哲学是把一切都看作是组件。把使用程序组件化的优点是下降模块间的耦合性,一起提高模块的复用性。Android的组件设计思维与传统的组件设计思维最大的区别在于,前者不依赖于进程。也就是说,进程即便因为内存严重被强制杀掉了,可是运行在里面的组件仍是存在的。这样就可以在组件再次需求使用时,原地满血复活,就像什么都没生成过一样。这种设计思维十分合适内存较小的移动设备。理解Android组件设计思维,对Android使用程序架构会有更好的知道。这一节讲Android组件化设计的布景、理念、准则,以及Android在OS级别上提供的组件化支持,其间还会包括一个实验来验证这种组件化设计思维,可以对Android系统有一个高层次的笼统理解。

(The philosophy of Android development is to treat everything as a component. The advantage of componentization is to reduce the coupling between modules and improve the reusability of modules together. The biggest difference between Android's component design thinking and traditional component design thinking is that the former does not depend on the process. In other words, even if the process is forcibly killed due to serious memory problems, the components running in it still exist. In this way, when the component needs to be used again, it can be revived with full blood, as if nothing has been generated. This design thinking is very suitable for mobile devices with small memory. Understand the design thinking of Android components, and better understand the application architecture of Android. In this section, we will talk about the background, philosophy, and principles of Android component-based design, as well as the component-based support provided by Android at the OS level. In addition, we will also include an experiment to verify this component-based design thinking, which can provide a high-level general understanding of the Android system.)

[下载]10390258427.rar




上一篇:Android应用程序进程管理
下一篇:Android源代码开发和调试环境搭建