Kong-droid

  • 홈
  • 태그
  • 방명록

2024/10/08 1

[Android / Glide] Glide override / Glide 이미지 크기 조정

overrideoverride는 이미지의 크기를 강제로 지정하여 로드할 때 사용되는 메서드입니다우선 함수 원형을 보자면,paramater로 width, height을 받아서 크기를 조절해줍니다  @NonNull @CheckResult public T override(int width, int height) { if (isAutoCloneEnabled) { return clone().override(width, height); } this.overrideWidth = width; this.overrideHeight = height; fields |= OVERRIDE; return selfOrThrowIfLocked(); } 만약 width, height이 같..

📱 Android 2024.10.08
이전
1
다음
더보기
프로필사진

Kong-droid

👩🏻‍💻 Android Developer📱

  • 👩🏻‍💻 Develop (148) N
    • 💡 Kotlin (11)
    • 📱 Android (67)
    • 🤖 Compose (27) N
    • 🦋 Flutter (1)
    • ☕️ Java (4)
    • 💻 프로그래밍 (12)
    • 🐛 버그 (6)
    • 🧐 알고리즘 (8)
      • ⏳ 알고리즘 풀이 (4)
    • 🔍 기술파헤치기 (2)

Tag

coroutine, Android Repository, Kotlin, android usecase, android viewmodel, 코루틴, android glide, Kong-droid, java, Android, 안드로이드, rxjava kotlin, compose state, android compose, compose recomposition, compose, coroutine launch, Android DI, Android dataBinding, rxjava,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2024/10   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바