Dependency updates

This commit is contained in:
inorichi
2018-02-18 20:02:31 +01:00
parent fc1f290b85
commit 49eb638e15
6 changed files with 24 additions and 24 deletions

View File

@@ -55,10 +55,10 @@ class StateImageViewTarget(view: ImageView,
super.onLoadCleared(placeholder)
}
override fun onResourceReady(resource: Drawable?, transition: Transition<in Drawable>?) {
override fun onResourceReady(resource: Drawable, transition: Transition<in Drawable>?) {
progress?.gone()
view.scaleType = imageScaleType
super.onResourceReady(resource, transition)
this.resource = resource
}
}
}