I'm loading images using Glide this way in a
Glide.with(this).load(pictureUrl) .diskCacheStrategy(DiskCacheStrategy.ALL) .placeholder(R.drawable.default) .into(image);
but the image is never set into the
ImageView although the image IS indeed being loaded (I investigated this using a listener). I believe this only happens when the image is not being loaded from memory since it does load if the
Fragment is resumed.
If I add
asBitmap() above, then the image successfully loads. Also, setting the
GlideDrawable into the
ImageView from an attached
onResourceReady() method also works.