首页> 外文会议>International Conference on Machinery, Materials and Information Technology Applications >The Exploration and Practice of MVVM Pattern on Android Platform
【24h】

The Exploration and Practice of MVVM Pattern on Android Platform

机译:Android平台MVVM模式的探索与实践

获取原文

摘要

How UI designers and business engineers collaborate to development apps on Android platform conveniently and effectively is a difficult problem to tackle when projects get more complicate and need more effort. This paper compared the commonality and variability of MVVM with the commonly used MVC and MVP patterns. An RSS subscription app was designed and implemented by using Data Binding and Rome.jar techniques and the use of MVVM pattern on Android platform was explored. Three key points to solve the problem of bidirectional binding of views and view models were described. Decoupling of Model and View further separated data, logic and view and satisfied the requirements of different format of views for the same model. Therefore, duplicated code was reduced. The more important is that the coupling level of code was decreased for multiple developers. The software design objective of "high cohesion and low cupping" was achieved and efficiently collaborative development was accomplished.
机译:UI设计师和业务工程师如何合作开展Android平台的开发应用程序,并且有效地是在项目变得更加复杂并且需要更多努力时解决问题的难题。本文将MVVM与常用MVC和MVP模式的共性和可变性进行了比较。通过使用数据绑定和Rome.jar技术设计和实现了RSS订阅应用程序,并探讨了在Android平台上使用MVVM模式。描述了解决视图和视图模型的双向绑定问题的三个关键点。模型的解耦和查看进一步分离的数据,逻辑和视图,并满足不同格式的相同模型的不同视图的要求。因此,减少了重复的代码。更重要的是,多个开发人员减少了代码的耦合级别。实现了“高凝聚力和低拔罐”的软件设计目标,实现了有效的协作发展。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号