@Module class NetworkModule
Class that contributes to the object graph CoreComponent.
See Also
<init> |
Class that contributes to the object graph CoreComponent. NetworkModule() |
provideHttpClient |
Create a provider method binding for OkHttpClient. fun provideHttpClient(interceptor: HttpLoggingInterceptor): OkHttpClient |
provideHttpLoggingInterceptor |
Create a provider method binding for HttpLoggingInterceptor. fun provideHttpLoggingInterceptor(): HttpLoggingInterceptor |
provideMarvelRepository |
Create a provider method binding for MarvelRepository. fun provideMarvelRepository(service: MarvelService): MarvelRepository |
provideMarvelService |
Create a provider method binding for MarvelService. fun provideMarvelService(retrofit: Retrofit): MarvelService! |
provideRetrofitBuilder |
Create a provider method binding for Retrofit. fun provideRetrofitBuilder(): <ERROR CLASS> |