Wahib Ul Haq
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()

--

--

Wahib Ul Haq
Wahib Ul Haq

Written by Wahib Ul Haq

Senior Program Manager at Diconium • Dev Advocate • Talks about Tech, DevRel, Soft skills, Careerintech & Partnerships • Co-Organizer @DevRelMunich

Responses (1)