Android依赖注入框架 依赖注入的框架类型什么是控制反转——IOC(inversion of control)什么是DI(dependency injection)依赖注入IOC的优势IOC的缺点Hilt如何使用step1配置应用程序step2 配置需要依赖注入的类step3.1 定义对象如何被创建step3.2 使用@binds提供接口实现注入能力 作用域scopeHilt的局限性 依赖注入的框架类型 什么是控制反转——IOC(inversion of control) 什么是DI(dependency injection)依赖注入 IOC的优势 IOC的缺点 Hilt如何使用 step1配置应用程序 step2 配置需要依赖注入的类 step3.1 定义对象如何被创建 step3.2 使用@binds提供接口实现注入能力 作用域scope 关键注解解释 Hilt的局限性