@Test public void testProvideGsonConverterFactory() { assertNotNull(applicationModule.provideGsonConverterFactory()); }
@Provides @ApplicationScope public GsonConverterFactory provideGsonConverterFactory() { return new GsonService().getGsonConverterFactory(); }
ApplicationModule { @Provides @ApplicationScope public GsonConverterFactory provideGsonConverterFactory() { return new GsonService().getGsonConverterFactory(); } }
ApplicationModule { @Provides @ApplicationScope public GsonConverterFactory provideGsonConverterFactory() { return new GsonService().getGsonConverterFactory(); } ApplicationModule(Context context); }
ApplicationModule { @Provides @ApplicationScope public GsonConverterFactory provideGsonConverterFactory() { return new GsonService().getGsonConverterFactory(); } ApplicationModule(Context context); @Provides @ApplicationScope NetworkService provideNetworkService(OkHttpClient okHttpClient, GsonConverterFactory gsonConverterFactory); @Provides @ApplicationScope ChatService provideChatService(NetworkService networkService); @Provides @ApplicationScope OkHttpClient provideOkHttpClient(); @Provides @ApplicationScope GsonConverterFactory provideGsonConverterFactory(); }
ApplicationModule { @Provides @ApplicationScope public GsonConverterFactory provideGsonConverterFactory() { return new GsonService().getGsonConverterFactory(); } ApplicationModule(Context context); @Provides @ApplicationScope NetworkService provideNetworkService(OkHttpClient okHttpClient, GsonConverterFactory gsonConverterFactory); @Provides @ApplicationScope ChatService provideChatService(NetworkService networkService); @Provides @ApplicationScope OkHttpClient provideOkHttpClient(); @Provides @ApplicationScope GsonConverterFactory provideGsonConverterFactory();  }