http - Is OkHttp faster or better that HttpUrlsConnection for android? -
i have develop sdk web service android, should consider using okhttp creating instead of httpurlsconnection? if benefits of using it?
you should try both if in learning phase. libraries make work alot easier. list down libraries used in making network call.
retrofit library - easy intergrate , fasten network call official link.
use peer library picasso if downloading images. use okhttp if need http operations lie outside of retrofit/picasso.
volley library - officially supported google check this
i recommned use retrofit simple use , documentation nice.
pros of retrofit:
compared volley in rest api code brief , provides excellent api documentation , have support in communities! easy add projects. can use serialization library, error handling.
Comments
Post a Comment