Since there was this awesome presentation on Volley I tried to include it in a project I am working on. I found myself correcting some bugs I found in the source code that was published.
Does anybody know if there is gonna be some GitHub project where one could contribute to the project or is there another way to communicate bugs and feature requests to the developer?
Regarding the problems I had with Volley:
1. It seems that redirection does not work as it should:
Volley returns an error code 302
instead of redirecting to the location given in the response header.
2. Getting the cache directory does not work on my emulator running 4.2.2:
cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR);
final String cacheDir1 = "/Android/data/cache/";
cacheDir = new File(Environment.getExternalStorageDirectory().getPath() + cacheDir1);
This workaround is platform specific, though. Just wanted to add it for completions sake.
Besides that I think Volley is really an awesome piece of code and exactly what I was looking for until I did it myself ;)
Update 1
Here another link to the contribution page AOSP. I thought its more a standalone library. I will check that out, although I still appreciate more infos and tutorials on Volley. The source code I suggested is just a quick and dirty fix, which did the trick in my demo project.
Update 2
I found another interesting blog post by Ognyan Bankov mentioned as a response to another question, which could be helpful.
Volley
doesn't handle view's recycling for your. In case view is recycled you should cancel the previous request.ImageLoader.get
returns anImageContainer
which has acancelRequest
method. – Luben