コード例 #1
0
 @Provides
 @Singleton
 @Application
 ObjectGraph provideObjectGraph(BaseApplicationWithInjector baseApplicationWithInjector) {
   return baseApplicationWithInjector.getObjectGraph();
 }
コード例 #2
0
 @Provides
 @Singleton
 @Application
 Context provideContext(BaseApplicationWithInjector baseApplicationWithInjector) {
   return baseApplicationWithInjector.getApplicationContext();
 }