Comments (9)
目前是不支持的。你可以先和我你的场景, 我这边如果觉得你的场景合理。我会在近个版本添加上此功能的
from component.
之前是使用AutoService进行Application生命周期分发的,如果本库能提供这个方法,一是可以不用引用AutoService库,二是效率上可能有所优化。路由框架最大的作用是服务于模块化或者组件化,路由、服务、初始化,这三个功能如果在一个库里面集成,我觉得好处有三:一是整体架构,性能更好;二是减少包体积;三是统一的调用,更加容易上手。
from component.
初始化我指的是多个第三方库引用的时候,可以控制初始化顺序还有异步初始等
from component.
你说的挺对的。我的库目前提供了生命周期的功能。至于怎么初始化每个模块,同步还是异步和我没关系,顺序也是你自己控制的。路由模块不用说了,现在基本找不出比我这个强大的了。服务这块我暂时没看到你说场景,你只说了 AutoServive 这个库。我一直奉行有需求再考虑做这个功能。所以请你简单说下你多实现的用途。
我会很谨慎的考虑,如果可以,下个版本就提供给你用了
from component.
目前需求就只有一个,分发Application的生命周期,这个文档我没有找到,麻烦贴一下
from component.
谢谢了
from component.
from component.
谢谢了
from component.
这个生命周期功能是可选的,有其他问题在打开就好。谢谢
from component.
Related Issues (20)
- afterXXXAction的优先级 HOT 5
- 请问下plugin支持增量吗? HOT 2
- 关于跳转到第三方SDK HOT 6
- 依赖高概率的找不到 HOT 4
- Failed to resolve: com.github.xiaojinzi123.Component:component-impl:1.9.2-androidx-java8 HOT 3
- 咨询一下doOpenUri的问题 HOT 1
- 请问Component与ActivityResultContract如何配合使用? HOT 3
- 如何创建并获取一个带参的Service? HOT 1
- 如何判断一个url是否可以跳转? HOT 6
- transformClassesWithComponentPlugin遇到带有签名的JAR时候会报错 HOT 16
- forwardForResult再activity异常destroy后再次调用无效 HOT 2
- 关于Gradle编译优化的提示 HOT 15
- 单 Activity多Fragment 文档不够详情 HOT 1
- 模块和工程大了之后,编译速度特别慢, 是否支持模块化编译aar吗?比如 RocketX HOT 4
- module能否独立运行测试? HOT 2
- 使用com.xiaojinzi.component.plugin 编译报错 HOT 6
- 路由文档有些模块能生成有些不能生成
- 没有IApplicationLifecycle的模块中的ServiceImpl,无法通过ServiceManager.get 获取到
- 1.9.4版本app模块依赖1.9.3版本编译的aar时,路由、服务获取都是null HOT 2
- 关于Unable to instantiate appComponentFactory java.lang.ClassNotFoundException问题 HOT 13
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 component.