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
1.界面结构是 viewpager2 + fragment + RecyclerView 2.使用自定义单位 mm 3.在显示图片的时候每13行和14行所有内容放大,代码如下 : 如果不使用Glide 显示正常,或者使用Picasso 库也显示正常,请问要如何解决? @Override protected void convert(BaseViewHolder holder,User item) { Context context = getContext(); try { RoundedImageView riv = holder.getView(R.id.rivFace); // Glide.with(context).asBitmap().load(SdkUtils.safeStr(item.header)) // .error(R.mipmap.im_friend).placeholder(R.mipmap.im_friend).into(riv); Picasso.get().load(SdkUtils.safeStr(item.header)).into(riv); }catch (Throwable e) { e.printStackTrace(); } holder.setText(R.id.tvName, item.name); }
@Override protected void convert(BaseViewHolder holder,User item) { Context context = getContext(); try { RoundedImageView riv = holder.getView(R.id.rivFace); // Glide.with(context).asBitmap().load(SdkUtils.safeStr(item.header)) // .error(R.mipmap.im_friend).placeholder(R.mipmap.im_friend).into(riv); Picasso.get().load(SdkUtils.safeStr(item.header)).into(riv); }catch (Throwable e) { e.printStackTrace(); } holder.setText(R.id.tvName, item.name); }
The text was updated successfully, but these errors were encountered:
我用的Coil加载图片, viewpager2 + fragment + RecyclerView下也出现了这个问题
Sorry, something went wrong.
排查了全部依赖,发现这个库导致Coil加载不全
x请问现在怎么解决?
No branches or pull requests
1.界面结构是 viewpager2 + fragment + RecyclerView
2.使用自定义单位 mm
3.在显示图片的时候每13行和14行所有内容放大,代码如下 :
如果不使用Glide 显示正常,或者使用Picasso 库也显示正常,请问要如何解决?
@Override protected void convert(BaseViewHolder holder,User item) { Context context = getContext(); try { RoundedImageView riv = holder.getView(R.id.rivFace); // Glide.with(context).asBitmap().load(SdkUtils.safeStr(item.header)) // .error(R.mipmap.im_friend).placeholder(R.mipmap.im_friend).into(riv); Picasso.get().load(SdkUtils.safeStr(item.header)).into(riv); }catch (Throwable e) { e.printStackTrace(); } holder.setText(R.id.tvName, item.name); }
The text was updated successfully, but these errors were encountered: