摘要: package com.APPShare.db;import java.util.ArrayList;import java.util.List;import com.APPShare.Bean.AppBean;import com.APPShare.Bean.FriendBean;import com.APPShare.Bean.WeiboBean;import android.content.ContentValues;import android.content.Context;import android.database.Cursor;import android.database. 阅读全文
posted @ 2012-07-20 18:28 暗殇 阅读(491) 评论(0) 推荐(0)
摘要: 很多时候,我们从网络上获取到的图片只是一个Url地址。我们必须采用异步加载的方法,将图片显示才来。public class AsyncImageLoader { private HashMap<String, SoftReference<Drawable>> imageCache; public AsyncImageLoader() { imageCache = new HashMap<String, SoftReference<Drawable>>(); } public Drawable... 阅读全文
posted @ 2012-07-20 18:24 暗殇 阅读(244) 评论(0) 推荐(0)