I am wondering which libraries are best or faster. In my application I am using network request and image caching. I need to know which libraries are the best.
I have been using Aquery for three months now, It's great library and i recommend you to use it,
https://github.com/androidquery/androidquery/releases/tag/0.26.8
https://code.google.com/p/android-query/wiki/AsyncAPI?tm=6
//load an image to an ImageView from network, cache image to file and memory
aq.id(R.id.image1).image("http://www.vikispot.com/z/images/vikispot/android-w.png");
AsyncHTTP client has some serious design issues and you need to sometimes override a number of OnSuccess and onFailure methods just to get a response. A number of improvements are currently being made. On the other hand Volley seem to be having memory leak issues: check this post volley-slow-memory-leaks. However, I have used it now for few weeks, it seem like a better option that and I have not experienced any memory leaks myself. What is also important to note is that Volley has better response times compared to Asynchttp, at least from the few tests that I have done
© 2022 - 2024 — McMap. All rights reserved.