是否有像 RoboGuice for Dagger 这样的 Android 库?
Is there an Android library like RoboGuice for Dagger?
我正在将我的应用程序从 RoboGuice 切换到 Dagger。 RoboGuice 有一个很好的特性,你可以在其中注入原生组件(@Inject Context mContext 给你一个 Context 对象)。我想知道是否有人知道可以执行此操作的 Dagger 或其他 DI 库的扩展。谢谢!
我正在将我的应用程序从 RoboGuice 切换到 Dagger。 RoboGuice 有一个很好的特性,你可以在其中注入原生组件(@Inject Context mContext 给你一个 Context 对象)。我想知道是否有人知道可以执行此操作的 Dagger 或其他 DI 库的扩展。谢谢!