title: All images are not downloaded when using Glide with RecyclerView on Android
body: <p>This problem I have faced a lot when using <code>Glide</code> (v3.8.0) to load list of images in a <code>RecyclerView</code>.</p>
  
  <ol>
  <li><p>I am trying to load 9 images <strong>(jpg format and 1000 x 1000 size)</strong> from server. <code>Glide</code> downloads few images and show it. But some are not downloaded and I have to re-open the <code>Activity</code> to download the remaining images.</p></li>
  <li><p>As <strong><code>Glide</code></strong> download images. The <strong><code>Activity</code></strong> gets slower and slower. The scrolling is very laggy.</p></li>
  </ol>
  
  <p>Here is the <code>onBindViewHolder</code> of the <code>RecyclerView</code>.</p>
  
  <pre><code>RequestManager manager;
  Context context;
  List&lt;Gallery&gt; galleryList;
  
  public BaseAdapter(Context context, List&lt;Gallery&gt; galleryList, RequestManager glide) {
      this.context = context;
      this.galleryList = galleryList;
      this.manager = glide;
  }
  
  @Override
  public void onBindItemViewHolder(final KolamViewHolder holder, final int itemPosition) {
      Log.e("BaseAdapter", galleryList.get(itemPosition).getImage());
      manager.load(galleryList.get(itemPosition).getImage()).asBitmap()
              .diskCacheStrategy(DiskCacheStrategy.RESULT)
              .into(new SimpleTarget&lt;Bitmap&gt;() {
                  @Override
                  public void onResourceReady(Bitmap resource, GlideAnimation&lt;? super Bitmap&gt; glideAnimation) {
                      holder.kolamImage.setImageBitmap(resource);
                      holder.progressBar.setVisibility(View.GONE);
                      Log.e("BaseAdapter", "Ready");
                      //click listener to pass the gallery image to the bot
                      holder.kolamImage.setOnClickListener(new View.OnClickListener() {
                          @Override
                          public void onClick(View v) {
                              onItemClickListener.onItemClicked(galleryList.get(itemPosition));
                          }
                      });
                  }
              });
  }
  </code></pre>
  
  <p>Where am I making a mistake? How can I load all the images and without making any lag while scrolling?</p>