Giter Site home page Giter Site logo

Comments (4)

EndSmile avatar EndSmile commented on August 16, 2024

对了,我超级喜欢罗辑思维,每期视频都看,得到重度用户(有6个付费订阅。。),求内推,我个人对

  1. 代码架构设计
  2. kotlin
  3. 自定义控件

喜欢且有特别的理解和追求,热爱阅读,学习,挑战更高的难度

可以私聊:[email protected]

from ddcomponentforandroid.

mqzhangw avatar mqzhangw commented on August 16, 2024

非常高兴能把你的方案也分享出来,我大致看了一下,在组件注册等方面的确启发很大,太感谢了。
我感觉两个方案之前的区别除了你说的单独调试之外,还有两点是“得到”方案的创新之处:一是组件单独调试和集成调试的无缝切换,这个你运行一下demo就可以体会到这种便利之处;二是做到了组件之间的代码边界,目前可以做到组件之间完全杜绝越过接口直接调用实现类的错误,也只有做到这种完全隔离才能够做到动态的加载和卸载组件。

from ddcomponentforandroid.

EndSmile avatar EndSmile commented on August 16, 2024

嗯,大家的思路还是比较一致的,只不过当时我是把每个模块暴露的接口单独建立了module,"得到"的设计是将这些接口统一放置在componentservice模块中,我们组件的实现层都是不能直接相互依赖,因此组件之间的代码边界都是没有问题的。

组件单独调试和集成调试的无缝切换确实非常棒,非常方便,值得借鉴

from ddcomponentforandroid.

mqzhangw avatar mqzhangw commented on August 16, 2024

赞,共同进步👍

from ddcomponentforandroid.

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.