1

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!!

Yash Sampat
  • 30,051
  • 12
  • 94
  • 120
BSK
  • 65
  • 1
  • 1
  • 10

1 Answers1

3
  • Volley makes it much easier to handle responses as Strings, JSONObjects and JSONArrays.
  • 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 and SPDY 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 an OutOfMemoryError.
Yash Sampat
  • 30,051
  • 12
  • 94
  • 120