Colton Idle
@Provides fun provideApiService( <========== ERROR: error: [Dagger/MissingBinding] okhttp3.Interceptor cannot be provided without an @Provides-annotated method. @Named("application_interceptors") applicationInterceptors: MutableList<Interceptor>, @Named("network_interceptors") networkInterceptors: MutableList<Interceptor>,
@Provides @Named("application_interceptors") fun provideApplicationInterceptorList( @ApplicationContext context: Context, ): MutableList<Interceptor> {
@Provides @Named("network_interceptors") fun provideNetworkInterceptorList( @ApplicationContext context: Context, ): MutableList<Interceptor> {
Arun
FunkyMuse
@JvmSuppressWildcards List<Interceptor>
A modern programming language that makes developers happier.