You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrap causes the ImageView to have size 1080x0 size on first layout (because there's no src/drawable yet) which is then used by Glide to load a Bitmap of that size, which obviously is a pointless load. See #135 for more: try not to use wrap_content or use .override(). Note that .override(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL) will be no different than what Picasso does (as far as I remember), wasting memory. Try to give a number for at least one dimension to save resources (e.g. screenwidth/2 for a 2-column grid).
I try to set the width,height and scaleType properties of ImageView(fitcenter,centercrop),but also didnt work. Piccaso working good.
here's some code:
xml:
The text was updated successfully, but these errors were encountered: