V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
cuikangyuan
V2EX  ›  问与答

dagger2 中 component 这样配置 dependencies = xxxModule.class 的作用是什么呢?

  •  
  •   cuikangyuan · 2016-04-23 15:46:53 +08:00 · 934 次点击
    这是一个创建于 2941 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近在读开源代码看到这样的写法有点不理解
    component dependencies 不是代表 component 之间的依赖关系吗?
    如果 dependencies = xxxModule.class 是不是就相当于 modules = xxxModule.class 呢?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   930 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:05 · PVG 06:05 · LAX 15:05 · JFK 18:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.