Colton Idle
02/16/2022, 2:43 AM@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>,
Providers:
@Provides
@Named("application_interceptors")
fun provideApplicationInterceptorList(
@ApplicationContext context: Context,
): MutableList<Interceptor> {
and
@Provides
@Named("network_interceptors")
fun provideNetworkInterceptorList(
@ApplicationContext context: Context,
): MutableList<Interceptor> {
Arun
02/16/2022, 2:46 AMColton Idle
02/16/2022, 2:48 AMFunkyMuse
02/16/2022, 7:15 AMColton Idle
02/17/2022, 12:35 AM@JvmSuppressWildcards List<Interceptor>