1 min readSep 19, 2019
Can you tell me more about this NetworkHelper.handlerErrorInterceptor()
because you can only add a class which implements Interceptor
interface.
I have a feeling that you might want to add a logging interceptor which is already available.
val client = NetworkHelper.getClient()
.addInterceptor(MockInterceptor())
.addInterceptor(HttpLoggingInterceptor())
.build()