private void initImageLoader(Context theContext) { RequestQueue queue = Volley.newRequestQueue(theContext); mImageLoader = new ImageLoader(queue, new ImageCache() { @Override public void putBitmap(String url, Bitmap bitmap) { } @Override public Bitmap getBitmap(String url) { return null; } }); }
public static ImageCache getMemoryCache() { return MEMORY_CACHE; }