We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My selectableRoundedImageView occasionally lead to picture displaying 1/4 when i use it with Glide. i use it in my application. ` my code
public void loadNormal(@NonNull SelectableRoundedImageView imageView, @NonNull Object url, int widthDp, int heightDp, int placeholder) { RequestOptions requestOptions = new RequestOptions() .diskCacheStrategy(DiskCacheStrategy.RESOURCE); if (placeholder != -1) { requestOptions.placeholder(placeholder).error(placeholder); } if (widthDp > 0 && heightDp > 0) { requestOptions.override(DeviceUtils.dip2px(imageView.getContext(), widthDp), DeviceUtils.dip2px(imageView.getContext(), heightDp)); } else if (widthDp > 0) { requestOptions.override(DeviceUtils.dip2px(imageView.getContext(), widthDp)); } Glide.with(imageView.getContext()) .load(getPath(url, imageView)) .thumbnail(0.6f) .apply(requestOptions) .into(imageView); } `
i have did nothing with it but used glide.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My selectableRoundedImageView occasionally lead to picture displaying 1/4 when i use it with Glide.
i use it in my application.
` my code
i have did nothing with it but used glide.
The text was updated successfully, but these errors were encountered: