是否可以将 DIP 应用于 Android Activity ?
最佳答案
您可以使用 RoboGuice在 Android 上做依赖注入(inject)。它使用 Google 的 Guice 框架。
关于android - 将 DIP(Dependency Inversion) 应用于 Android Activity 类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10250524/
标签 android
是否可以将 DIP 应用于 Android Activity ?
最佳答案
您可以使用 RoboGuice在 Android 上做依赖注入(inject)。它使用 Google 的 Guice 框架。
关于android - 将 DIP(Dependency Inversion) 应用于 Android Activity 类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10250524/