cuikangyuan
V2EX  ›  问与答

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

  •  
  •   cuikangyuan · Apr 23, 2016 · 1681 views
    This topic created in 3872 days ago, the information mentioned may be changed or developed.
    最近在读开源代码看到这样的写法有点不理解
    component dependencies 不是代表 component 之间的依赖关系吗?
    如果 dependencies = xxxModule.class 是不是就相当于 modules = xxxModule.class 呢?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1788 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 10:37 · PVG 18:37 · LAX 02:37 · JFK 05:37
    ♥ Do have faith in what you're doing.