In my android apps development use instead of HTTPs go for volley API some one suggested me what is the difference between volley API and HTTPs thans!!
Asked
Active
Viewed 151 times
1
-
Volley can make connection in your Main thread – sandeep gupta Mar 03 '15 at 11:03
1 Answers
3
- Volley makes it much easier to handle responses as
String
s,JSONObject
s andJSONArray
s. - Volley does the work on a separate thread internally, so no need for you to create an
AsyncTask
. - Volley creates a central
RequestQueue
that performs HTTP requests serially. - Volley allows you to easily synchronize pausing, resuming and cancelling of requests with the
Activity
/Fragment
lifecycle. - Volley with
okHttp
andSPDY
is the fastest HTTP library out there. - Volley also allows you to download images and display them in a
NetworkImageView
. Even if the image sizes are very large, Volley never seems to throw anOutOfMemoryError
.

Yash Sampat
- 30,051
- 12
- 94
- 120