load

fun ImageView.load(@DrawableRes drawableRes: Int, block: ImageView.() -> Unit? = null): ImageView

Loads drawable and applies transformations.

drawable을 로드하고 변환을 적용합니다.

Return

The ImageView instance for method chaining.

메서드 체이닝을 위한 ImageView 인스턴스.

Parameters

drawableRes

Drawable resource ID.

Drawable 리소스 ID.

block

Configuration block for additional styling.

추가 스타일링을 위한 설정 블록.