Hello All:
Interaction with back-end using REST based API is very common in application development.
There are multiple libraries to make network calls on Android. Following two are most used.
RetroClient came into existence to minimize the code needed for making HTTP calls. Every call to API generally requires
Some features of the library
Hope this helps you in your future projects.
Do share your feedback and issues.
Interaction with back-end using REST based API is very common in application development.
There are multiple libraries to make network calls on Android. Following two are most used.
- Volley
- Retrofit
RetroClient came into existence to minimize the code needed for making HTTP calls. Every call to API generally requires
- Boiler plate code to check and handle network state
- Initialize HTTP client
- Handle response
- Handle error
Some features of the library
- Provides out of the box network check and error handling
- Show progress view while making network calls
- Multiple methods for initializing Retrofit services
Hope this helps you in your future projects.
Do share your feedback and issues.
Thanks for printing this post. Hope you liked it.
Keep visiting and sharing.
Thanks,
Ashwani.
Keep visiting and sharing.
Thanks,
Ashwani.
0 comments :
Post a Comment