Skip to content

Commit

Permalink
Fix applying ImageView.load builder argument first instead of last. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed May 6, 2022
1 parent fe231c3 commit 8075f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coil-singleton/src/main/java/coil/Extensions.kt
Expand Up @@ -56,9 +56,9 @@ inline fun ImageView.load(
builder: ImageRequest.Builder.() -> Unit = {}
): Disposable {
val request = ImageRequest.Builder(context)
.apply(builder)
.data(data)
.target(this)
.apply(builder)
.build()
return imageLoader.enqueue(request)
}
Expand Down

0 comments on commit 8075f5c

Please sign in to comment.