转载请标明出处,本文出自:chaossss的博客
在上一篇博文中我们分析了 AUImgLoader 缓存模块的功能实现和架构设计,今天不妨着手分析 AUImgLoader 的工具类,为后面的分析作铺垫。在 Utils 包中,有 AUImgLoader 可能用到的工具类。其中 DiskCacheUtils、StorageUtils、MemonryCacheUtils 我们在分析 AUImgLoader...
分类:
移动开发 时间:
2015-07-16 09:43:05
阅读次数:
345
使用Volley的ImageLoader异步获取并缓存图片时,发现有的网络图片已经缓存了,但是断网后却读不出来。
ImageLoader的使用方法:
RequestQueue requestQueue = Volley.newRequestQueue(context);
//设置缓存
int maxSize = 100 * 1024 * 1024;
...
分类:
其他好文 时间:
2015-07-15 13:24:46
阅读次数:
248
直接看代码:MainActivity:
package com.example.textwsjdemo;
import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;
import com.nostra13.universalimageloader.core.DisplayImageOption...
分类:
移动开发 时间:
2015-07-14 15:37:02
阅读次数:
148
【关于本系列】最近看了不少开源框架,网上的资料也非常多,但是我认为了解一个框架最好的方法就是实际使用。本系列博文就是带领大家快速的上手一些常用的开源框架,体会到其作用。由于作者水平有限,本系列只会描述如何快速的使用框架的基本功能,更多的详细设置大家可以在这些项目的页面上找到。【介绍】:ImageLo...
分类:
其他好文 时间:
2015-07-09 21:27:29
阅读次数:
139
使用AndroidStudio时候导入开源项目ImageLoader lib包时,出现错误? Error:Execution failed for task ‘:app:dexDebug‘. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: E:\a...
分类:
移动开发 时间:
2015-07-07 17:17:10
阅读次数:
239
转载请标明出处,本文出自:chaossss的博客
Android-Universal-ImageLoader Github 地址
在[part1]里我们根据开发的需求,设计了 AUImgLoader 的基本架构,在架构图中我们了解到 AUImgLoader 的核心功能模块:缓存、显示以及可能用到的工具类,以及功能模块与工具类之间的关系。那么今天,我们就根据之前得到东西,开始实现 AUImgLoa...
分类:
移动开发 时间:
2015-07-06 10:17:02
阅读次数:
196
http://www.cnblogs.com/scige/p/3456790.htmlUI相关图片Android-Universal-Image-Loader:com.nostra13.universalimageloader:异步载入、缓存、显示图片ImageLoader:com.novoda.i...
分类:
移动开发 时间:
2015-06-26 10:34:56
阅读次数:
195
DisplayImageOptions 配置的问题 设置一个considerExifParams=true即可附上各个配置项意义 DisplayImageOptions options = new DisplayImageOptions.Builder() // 设置图片...
分类:
其他好文 时间:
2015-06-24 16:10:37
阅读次数:
168
Android三种基本的加载网络图片方式,包括普通加载网络方式、用ImageLoader加载图片、用Volley加载图片。1.[代码]普通加载网络方式?12345678910111213141516171819202122232425262728293031323334353637383940414...
分类:
移动开发 时间:
2015-06-24 10:55:58
阅读次数:
136
Android ImageLoader 本地缓存...
分类:
移动开发 时间:
2015-06-09 09:53:18
阅读次数:
122