Articles tagged in: Java



Retrofit 2 — Unwrapping Envelope Responses with Custom Converter

We recently worked on a project where the API wrapped all responses into an envelope. For example, when the app requested the user info, it always got a wrapped response: { "serverInfo": { "apiVersion": "0.0.1a" }, "statusCode": 200, "payload": { "username": "Norman", "id": 42 } } The payload was the actual interesting information. Previously, …

Continue Reading

Explore the Library

Find interesting tutorials and solutions for your problems.