Glide在listview中使用时getview中图片不显示,但也没报错

在4.3.1版本中
implementation 'com.github.bumptech.glide:glide:4.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.3.1'

在getview中都跟以前写法一样,就是无法显示图片,也不报错
原理不清楚,解决方法:

在布局文件中添加一个背景图片就行了


猜你喜欢

转载自blog.csdn.net/baidu_21345205/article/details/79799470