使用@Subcomponent注解,在父Component中显式暴露获取SubComponent实例的接口 ... 后面章节会有介绍,参考文章(在Dagger 2中Activities和Subcomponents的多绑定).
確定! 回上一頁