Android REST APIs: Volley vs Retrofit

Mohamed Lachgar, Hanane Benouda, Selwa Elfirdoussi · 2018

In the old days, networking in Android was a nightmare. Nowadays the problem is to find out which solution fits better the project's necessities. Therefore, almost every Android applications use a Web REST API for data transfer. Previously, developers preferred to write their own code to retrieve and analyze data. However, they now have a whole range of REST client libraries, which can speed up development by reducing the coding efforts, and efficiently analyze data. The REST (Representational State Transfer) has become the most commonly used way for creating, publishing, and consuming Web services, exploiting JavaScript Object Notation (JSON) as a data exchange format. Android Volley and Retrofit are the most used libraries for accessing the REST Web APIs today. In this paper, we will present a comparative study between these two libraries, in order to disclose the advantages and limitations of each of them.

Read the paper · More papers on PaperTik