728x90

 

 

 

기존 코드

img_season = (BitmapDrawable)context.getResources().getDrawable(getMap().get(str_season));

 

 

수정 코드

img_season = (BitmapDrawable) ContextCompat.getDrawable(context, getMap().get(str_season));



출처: https://yonoo88.tistory.com/872 [yonoo's]

728x90

+ Recent posts