2020-05-06 Fresco中SimpleDraweeVi
2020-05-06 本文已影响0人
风雪守候
kotlin写法
val request = ImageRequestBuilder
.newBuilderWithSource(Uri.parse(url))
.setPostprocessor(IterativeBoxBlurPostProcessor(blurRadius))
.build()
simpleDraweeView.setImageRequest(request)
url:图片地址
blurRadius:模糊效果参数,API接口参数的介绍(The given blur radius. Must be greater than 0 and not greater than 6553)