摘要:
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... 阅读全文
摘要:
private boolean isNetworkAvailable(Context con) { ConnectivityManager cm = (ConnectivityManager) con .getSystemService(Context.CONNECTIVITY_SERVICE); if (cm == null) return false; NetworkInfo netinfo = cm.getActiveNetworkInfo(); if (netinfo =... 阅读全文