Comments (10)
在activity中没有收到fragment传递过来的数据
from component.
你先看下字段的引用有没有
from component.
from component.
页面是跳转过来了的 引用就是为空
from component.
既然代码生成了, 说明生成的部分没有问题.
那你可以调试一下代码. 看下 Component.inject
那句代码里面在哪一步出错了.
这样子即可排查出错误.
请把调试出来的错误信息也粘贴一下
from component.
好的 我好像知道问题了 在文档里找到 Component.inject(this) 这句 看您的例子 找到了 谢谢
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.