Wednesday 2 September 2015


Retrofit

Retrofit library is a type-safe REST client for Android and Java created by Square Open Source. With this library you can request the webservices of a REST api with POST, GET and more. This library is awesome and very useful, but you need a good architecture and a good practice to use it as best as possible.
You can add header to every request or to specific request, which is very useful with secured webservices. For deserialization, you can use a custom JSON parser or a GSON object for
automatic parsing.s.
see this link for good explanation for this library Click here   

A type-safe HTTP client for Android and Java


Retrofit turns your HTTP API into a Java interface
   if you want more info about it see this link
for android example see this link

0 التعليقات:

Post a Comment