Technology RadarTechnology Radar

Retrofit for Android

cartographyandroid
This item was not updated in last three versions of the Radar. Should it have appeared in one of the more recent editions, there is a good chance it remains pertinent. However, if the item dates back further, its relevance may have diminished and our current evaluation could vary. Regrettably, our capacity to consistently revisit items from past Radar editions is limited.
Adopt

Retrofit is a networking library for Android that allows developers to create REST APIs simply and efficiently. It provides abstraction over HTTP, meaning developers do not need to know the details of manipulating HTTP to create and manage REST APIs.

Retrofit offers a variety of features to make creating and managing REST APIs easier, including:

  • Request management
  • Response management
  • Integration with Gson

To use Retrofit, developers must create a service interface. The service interface defines the methods that will be used to access REST API resources.