core / com.vmadalin.core.di.modules / NetworkModule

NetworkModule

@Module class NetworkModule

Class that contributes to the object graph CoreComponent.

See Also

Module

Constructors

<init>

Class that contributes to the object graph CoreComponent.

NetworkModule()

Functions

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>