title: How to I get the cached Bitmap I downloaded using Volley ImageLoader?
body: <p>Problem: I've a X amount of ImageViews that I'm adding dynamically like this:</p>
  
  <pre><code>for (int i=2; i &lt; result.size(); i++) {
          // instantiate image view
          ImageView mImageView = new ImageView(this);
          mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER);
          mImageView.setBackgroundResource(R.drawable.selectable_background_theme);
          mImageView.setOnClickListener(this);
  
          // download image and display it
          mImageLoader.get(result.get(i), ImageLoader.getImageListener(mImageView, R.drawable.ic_logo, R.drawable.ic_action_refresh));
  
          // add images to container view
          mLlDescContent.addView(mImageView);
      }
  </code></pre>
  
  <p>What want to be able to click on the image and display it in another activity in full screen. I have read about a couple of ways such as passing the Uri or passing the actual Bitmap as a byte array.</p>
  
  <p>Question: How do I get the Uri or the actual Bitmap I downloaded with Volley ImageLoader. The LruCache I'm using an BitmapLruCache I found here: <a href="https://stackoverflow.com/questions/16682595/android-volley-imageloader-bitmaplrucache-parameter">Android Volley ImageLoader - BitmapLruCache parameter?</a> . Can someone help me with this or any idea to accomplish my goal. </p>
  
  <p>I tried this after the above code and nothing: </p>
  
  <pre><code>Bitmap mBitmap = VolleyInstance.getBitmapLruCache().getBitmap(result.get(2));
  mIvAuthorImg.setImageBitmap(mBitmap);
  </code></pre>
  
  <p><strong>Edit:</strong> If i re-request the image with:</p>
  
  <pre><code>mImageLoader.get(result.get(i), ImageLoader.getImageListener(mImageView, R.drawable.ic_logo, R.drawable.ic_action_refresh));
  </code></pre>
  
  <p>the image is loaded from the cache, BUT if I try to access the image straight from the cache with:</p>
  
  <pre><code>Bitmap mBitmap = VolleyInstance.getBitmapLruCache().getBitmap(result.get(2));
  mIvAuthorImg.setImageBitmap(mBitmap);
  </code></pre>
  
  <p>the image don't load. I want to be able to manipulate the image, such as size an stuff before a pass it to the next activity.</p>