In my app i have used the ImageLoader to load an image into a NetworkView.
mRequestQueue = Volley.newRequestQueue(getApplicationContext());
mImageLoader = new ImageLoader(mRequestQueue, new ImageLoader.ImageCache() {
private final LruCache<String, Bitmap> mCache = new LruCache<String, Bitmap>(10);
public void putBitmap(String url, Bitmap bitmap) {
mCache.put(url, bitmap);
}
public Bitmap getBitmap(String url) {
return mCache.get(url);
}
});
My question is, how can i add Http headers ?