Center crop is not always working
Center crop is not working properly 등으로 찾아봄
https://github.com/bumptech/glide/issues/613
분명 centerCrop을 했는데도 이게 적용되었다가 혹은 한번에 안되고 스크롤을하면 centerCrop이 적용되는 문제다
해결법이 좀 황당하기도 하고 쉬운편인데 ㅋㅋㅋ
1. 코드로 centerCrop주던걸 지우고 layout에서 scaleType에 centerCrop선택
2. width 하고 height에 match로 할 것
이러면 해결!
You cannot start a load for a destroyed activity
찾아보니 글라이드에서 발생하는 이슈란다
with() 여기에 context를 넣는데 getApplicationContext()를 넣어주면 사라진다고 함
'Programming > Android' 카테고리의 다른 글
Flavor로 앱 이름 다르게 배포시 참고사항 (0) | 2017.08.15 |
---|---|
안드로이드 Flavor 적용 (0) | 2017.08.02 |
Kotlin 사용 (2) - Custom TextView (letter spacing) (0) | 2017.06.15 |
Kotlin 사용시 주의사항? (0) | 2017.05.30 |
Kotlin 사용 (1) - singleton (Rx EventBus용) (0) | 2017.05.26 |