Android Picasso图片下载和缓存库
Picasso 是 Android 上一个强大的图片下载和缓存库。
示例代码:
Picasso.with(context).load("http://i.imgur.com/DvpvklR.png").into(imageView); @Override public void getView(int position, View convertView, ViewGroup parent) { SquaredImageView view = (SquaredImageView) convertView; if (view == null) { view = new SquaredImageView(context); } String url = getItem(position); Picasso.with(context).load(url).into(view); } //图像处理 Picasso.with(context) .load(url) .resize(50, 50) .centerCrop() .into(imageView)
评论
Maple Bacon图片下载和缓存库
MapleBacon是一个非常棒的图片下载和缓存库,使用Swift开发,用于iOS系统。示例代码:import MapleBacon@IBOutlet weak var imageView: UIIm
Maple Bacon图片下载和缓存库
0
RxCache用于 Android 和 Java 的响应式缓存库
RxCache 是一个用于 Android 和 Java 的响应式缓存库,可将缓存需求转换为一个接口
RxCache用于 Android 和 Java 的响应式缓存库
0
KashmirRuby 缓存和序列化库
Kashmir是一个RubyDSL,轻松搞定缓存和序列化。示例代码:class Personinclude Kashmirdef initialize(name, age) @name = name
KashmirRuby 缓存和序列化库
0