注意!!!!如果要使用高斯模糊图必须要添加
implementation ‘jp.wasabeef:glide-transformations:3.0.1’
Glide版本看自己需求我用的依赖版本是:
implementation ‘com.github.bumptech.glide:glide:4.6.1’
annotationProcessor ‘com.github.bumptech.glide:compiler:4.6.1’
因为有些地方用到了GlideApp
Glide.with(mcontext) .load(url)
//设置高斯模糊
// “23”:设置模糊度(在0.0到25.0之间),默认”25";"4":图片缩放比例,默认“1”。
.apply(bitmapTransform(new BlurTransformation(25, 3)))
.into(holder.issueImg);
高版本之后需要用apply来加载了