Home > Mobile >  Glide load network image set placeholder figure question, seeks the solution greatly
Glide load network image set placeholder figure question, seeks the solution greatly

Time:03-05

Glide if set the placeholder for the image placeholder figure, the final loading images from the size into the booth chart size, must be the next load is normal, because the next load is loaded directly the picture of the cache, so is not affected by placeholder graph,
Any good way to solve this, I also want to use override limits, but the network picture size is usually don't know, it doesn't appear to be reasonable,

CodePudding user response:

No great god solve? 55555555555

CodePudding user response:

Images are to set up the high wide, not sure what

CodePudding user response:

ImageView set a fixed width for a line

CodePudding user response:

The problem is that I don't want to set wide high death, after the death of a size and artwork may be is not in conformity with the this is contradictory

CodePudding user response:

Under the condition of the building has a cache, you can write it again, I am such a solution,

Glide. With (mContext). The load (mData. Get (position). GetImg ()). The placeholder (R.m ipmap. Pic_loading). DiskCacheStrategy (diskCacheStrategy. ALL) into (holder. IvPic);
Glide. With (mContext). The load (mData. Get (position). GetImg ())) into (holder. IvPic);

CodePudding user response:

Could you tell me how to solve the building behind is?
  • Related