cuikangyuan
V2EX  ›  问与答

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

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