Comments (4)
对了,我超级喜欢罗辑思维,每期视频都看,得到重度用户(有6个付费订阅。。),求内推,我个人对
- 代码架构设计
- kotlin
- 自定义控件
喜欢且有特别的理解和追求,热爱阅读,学习,挑战更高的难度
可以私聊:[email protected]
from ddcomponentforandroid.
非常高兴能把你的方案也分享出来,我大致看了一下,在组件注册等方面的确启发很大,太感谢了。
我感觉两个方案之前的区别除了你说的单独调试之外,还有两点是“得到”方案的创新之处:一是组件单独调试和集成调试的无缝切换,这个你运行一下demo就可以体会到这种便利之处;二是做到了组件之间的代码边界,目前可以做到组件之间完全杜绝越过接口直接调用实现类的错误,也只有做到这种完全隔离才能够做到动态的加载和卸载组件。
from ddcomponentforandroid.
嗯,大家的思路还是比较一致的,只不过当时我是把每个模块暴露的接口单独建立了module
,"得到"的设计是将这些接口统一放置在componentservice
模块中,我们组件的实现层都是不能直接相互依赖,因此组件之间的代码边界都是没有问题的。
组件单独调试和集成调试的无缝切换确实非常棒,非常方便,值得借鉴
from ddcomponentforandroid.
赞,共同进步👍
from ddcomponentforandroid.
Related Issues (20)
- 项目报错Unable to find a matching configuration of project HOT 11
- android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? HOT 3
- 在实际公司组件化git部署用的哪种方式
- 打包后找不到子组件的类,怎么解决? HOT 1
- 建议
- basicres添加资源后编译失败 HOT 1
- 同时集成Bubly的Tinker1.9.6热修复时,打补丁包失败 HOT 2
- UI 跳转 List 数据的传递怎么使用? HOT 4
- 关于数据传递的问题 HOT 1
- 修改组件文件后,运行app,报错Failed to delete 组件名字\build\intermediates\intermediate-jars\debug\classes.jar HOT 5
- 没明白 AppShareBean不想将一些类下沉如何处理 是如何处理的 HOT 1
- 低版本无法运行的问题 HOT 1
- 低版本无法运行的问题
- 关于组件化dagger android使用相关问题 HOT 2
- gradle 5.1.1 BUG HOT 1
- 模块引入R文件报红
- 组件化,activity之间的共享动画如何处理呀? HOT 1
- 组件化库维护问题
- 依赖包版本compile 'com.android.support:appcompat-v7:26.+'
- 框架不支持App Bundle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddcomponentforandroid.