Benefits of .centerCrop()
Asked Answered
A

0

6

I'm asking this question out of curiosity. Basically I'm using glide for loading images into imageView by setting the scaleType of image to centerCrop .But what I'm asking is Is it worth or good practice to use the glide's centercrop method instead of imageview's scaletype?.

I'm asking this because as far as I know glide will first download the image and then transform it into required shape .So, I don't think it will increase the downloading speed of image. Then where this method is useful?

Airglow answered 5/3, 2018 at 14:5 Comment(2)
Have you found an answer yet?Anomaly
@Anomaly no not yetAirglow

© 2022 - 2024 — McMap. All rights reserved.