摘要: public class ImageLoaders { String str = new String(); MemoryCache memoryCache = new MemoryCache(); FileCache fileCache; public static Bitmap bitmap; private Map imageViews = Collections .synchronizedMap(new HashMap()); ArrayList urllist = new ArrayList(); public Imag... 阅读全文
posted @ 2013-09-17 17:05 BetterMan- 阅读(344) 评论(0) 推荐(0) 编辑
摘要: private boolean isNetworkAvailable(Context con) { ConnectivityManager cm = (ConnectivityManager) con .getSystemService(Context.CONNECTIVITY_SERVICE); if (cm == null) return false; NetworkInfo netinfo = cm.getActiveNetworkInfo(); if (netinfo =... 阅读全文
posted @ 2013-09-17 14:12 BetterMan- 阅读(541) 评论(0) 推荐(0) 编辑