Kong-droid

  • 홈
  • 태그
  • 방명록

android glide ratio 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 (146)
    • 💡 Kotlin (11)
    • 📱 Android (67)
    • 🤖 Compose (25)
    • 🦋 Flutter (1)
    • ☕️ Java (4)
    • 💻 프로그래밍 (12)
    • 🐛 버그 (6)
    • 🧐 알고리즘 (8)
      • ⏳ 알고리즘 풀이 (4)
    • 🔍 기술파헤치기 (2)

Tag

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

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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.

티스토리툴바