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)
网友评论