Retrofit 2 — Dynamic Endpoint-Dependent Interceptor Actions
Welcome to this tutorial with a very abstract title! OkHttp interceptors are quite great in making Retrofit even better by customizing requests (or responses) in a central place. We've used OkHttp interceptors a lot in previous tutorials (Manage Request Headers, OAuth, and many more). A downside of the interceptors is …
Continue Reading