bacy / volley

Android Volley, extended function of Android volley lib.add progress in down and upload. increase the speed of cache i/o.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问这个项目和Google推出的Volley有什么区别?

imyyq-star opened this issue · comments

commented

请问这个项目和Google推出的Volley有什么区别?能详细说明一下吗?最好能在Readme中声明,多谢

同上,我还以为是官方的镜像呢

readme里面写的全是区别啊。。。
也不能说是区别,是扩展。Volley整合了核心,但是使用起来不方便,很多功能都没有,比如文件下载,上传,本地资源图片加载。另外对内存和缓存,针对项目使用中碰到的问题,也做了一些优化,比如volley加载bitmap,容易oom,比如volley的磁盘缓存,初始化非常慢等等

@bacy 请问是如何优化加载bitmap是容易oom的问题的?因为我看ImageRequest里面是byte[] data = response.data;还是将图片都加载到内存里面了啊,只靠catch (OutOfMemoryError e) 不是和原版的volley一样吗?