QuestionAndroid
QuestionAndroid

Reputation: 891

Glide 4.11.0 load gif link not work with size small

When i use glide load gif this work ok, but with gif size small below : "https://live.staticflickr.com/65535/50013823608_c85e0f97d2_o.gif", not work.

  Glide.with(ivThumbImg.getContext())
                            .load(imageTableModel.getLinkThumb())
                            .apply(new RequestOptions().diskCacheStrategy(DiskCacheStrategy.NONE))
                            .into(new DrawableImageViewTarget(ivThumbImg));

or

   Glide.with(ivThumbImg.getContext())
                            .load(imageTableModel.getLinkThumb())
                            .diskCacheStrategy(DiskCacheStrategy.RESOURCE)
                            .into(ivThumbImg);

Upvotes: 1

Views: 92

Answers (1)

QuestionAndroid
QuestionAndroid

Reputation: 891

I fixed this by fixing the gif with a faster start time of a new image in the frame

Upvotes: 1

Related Questions