Giter Site home page Giter Site logo

Comments (3)

pcqpcq avatar pcqpcq commented on August 28, 2024

分享:谈谈UI架构设计的演化

from android-discuss.

qqbance125 avatar qqbance125 commented on August 28, 2024

相关文章分享:MVC,MVP 和 MVVM

from android-discuss.

henry12 avatar henry12 commented on August 28, 2024

说说当初我们改成MVP模式的原因,MVP模式做过WP开发的同学必须很清楚啊,于是我们从WP借鉴过来,主要为了解决的问题就是,view的臃肿,功能不再单一,不方便进行单元测试,使用fragment碎片的开发模式。
于是我们会有一套p层用来承载view的业务,让view的逻辑单一话只做UI相关的业务,同时也方便对p层进行单元测试,同时适应fragment的开发模式有利于代码复用等。

from android-discuss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.