Glide v4: Glide treats LayoutParams.WRAP_CONTENT as a request for an image the size of this device's screen

10-13 12:56:00.395 2255-2255/com.example.demo.androidAppdemo
I/ViewTarget: Glide treats LayoutParams.WRAP_CONTENT as a request for
an image the size of this device's screen dimensions. If you want to load
the original image and are ok with the corresponding memory cost and OOMs
(depending on the input size), use .override(Target.SIZE_ORIGINAL).

Otherwise, use LayoutParams.MATCH_PARENT,
set layout_width and layout_height to fixed dimension,
or use .override() with fixed dimensions.

No comments:

Post a Comment

Popular Posts