본문 바로가기

Programming/Android

Glide 관련 이슈(이미지 로딩 실패)

Glide not loading real image and stuck with placeholder


https://stackoverflow.com/questions/36384789/glide-not-loading-real-image-and-stuck-with-placeholder


글 타이틀에서 문제가 아주 명확하게 잘 써져있다.


   
Just as Glide's README.md says, CircleImageView/CircularImageView/RoundedImageView are known to have issues with TransitionDrawable (.crossFade() with .thumbnail() or .placeholder()) and animated GIFs, use a BitmapTransformation (.circleCrop() will be available in v4) or .dontAnimate() to fix the issue. – Leo.HanSep 29 at 7:09


채택된 답변에서 눈여겨 볼만한 댓글이 있는데, 동그란 이미지뷰 라이브러릴 사용하는 경우 real image가 load되지 않고 placeholder에 막히는 경우가 발생하는 듯 하다.


나역시 CircleImageView 라이브러리를 쓰고 있던 중 placeholder 넣은 background color만 나오고 real image가 load되지 않아 검색하게 되었다.


혹시 같은 문제로 고생하시는 분들 있으면 참고하시길...

'Programming > Android' 카테고리의 다른 글

Anko  (0) 2017.11.27
Glide4, kotlin, annotation 관련 이슈........  (0) 2017.08.25
Flavor로 앱 이름 다르게 배포시 참고사항  (0) 2017.08.15
안드로이드 Flavor 적용  (0) 2017.08.02
Glide 관련 이슈(centerCrop, context)  (1) 2017.06.15