摘要: dagger的目的是实现依赖注入 1、什么是依赖注入 举例: 不是依赖注入的例子: class Person{ void playGame(){ Football football = new Football; football.play(); } } 是依赖注入的例子: class Person 阅读全文
posted @ 2018-04-25 10:29 lightverse 阅读(127) 评论(0) 推荐(0) 编辑