Why won't Glide load an image from resource ID to my ImageView?

I know this question is long since closed but I found a good solution for this by using the placeholder or error image instead. So you might try

Glide.with(<<MyActivity>>)
    .load("")
    .placeholder(<<myDrawable>>)
    .into(imageView);

Not sure this is what you wanted but if there are others having the same issue, at least this seems to work with a minimum of work. :)


Check out the Debugging and Error Handling wiki page to enable logging. That should tell you if the load is failing and why.

If you see no error logs, it's possible that your View doesn't have a size, either because its size is 0, or because it hasn't gone through layout (visibility set to View.GONE etc). If so, you can test check by adding a call to override() with any valid width and height (try 400, 400 or something just to test).

If calling override() fixes the issue, take a look at your xml and see if you can change your view to either have a fixed size, or to at least eventually end up with a valid size. If all else fails, you can always call override() with Target.SIZE_ORIGINAL as the width and height.