Retrofit 2 — How to Add Query Parameters to Every Request
Adding query parameters to single requests is straight forward. You’re using the @Query annotation for your parameter declaration within the interface methods. This tells Retrofit to translate the provided query parameter name and value to the request and append the fields to the url. Recently, we’ve been asked …
Continue Reading