Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片模糊 #74

Open
qq309213760 opened this issue Jan 26, 2019 · 1 comment
Open

图片模糊 #74

qq309213760 opened this issue Jan 26, 2019 · 1 comment

Comments

@qq309213760
Copy link

使用这种方式设置显示完图片,会比原来的缩小了,而且模糊
final PipelineDraweeControllerBuilder controller = Fresco.newDraweeControllerBuilder();
controller.setUri(Uri.parse(data));
controller.setOldController(mPhotoDraweeView.getController());
controller.setControllerListener(new BaseControllerListener() {
@OverRide
public void onFinalImageSet(String id, ImageInfo imageInfo, Animatable animatable) {
super.onFinalImageSet(id, imageInfo, animatable);
if (imageInfo == null || mPhotoDraweeView == null) {
return;
}
mPhotoDraweeView.update(3000,50000);
}
});
mPhotoDraweeView.setController(controller.build());

@ongakuer
Copy link
Owner

这个库不支持长图或者超大图。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants