Glide loaded pictures do not show

Novice in this memo

When using Glide Load picture when doing the project, load pictures are all blank, get an error message by playing Log:

Glide treats LayoutParams.WRAP_CONTENT as a request for an image the size of this device's screen dimensions.

Because wrap_content width and height of my ImageView use, if the definition for WRAP_CONTENT, Glide can not determine in the end what size when queries went on Baidu for a long time, largely determine his cause of the error into which the picture, I set ImageView for the width and height you need. This allows images to load out, indicating the width and height problem is to set the cause of the error, how to solve specific problems, passing a big God, please tell me, thank you!

 

Published 19 original articles · won praise 3 · views 10000 +

Guess you like

Origin blog.csdn.net/xyzahaha/article/details/88871272