Cleaning Lint

This commit is contained in:
Valere 2019-07-19 16:18:47 +02:00
parent 3965218bf9
commit 4a2bf0d6c6

View file

@ -120,12 +120,19 @@ class ImageContentRenderer @Inject constructor(private val activeSessionHolder:
glideRequest glideRequest
.listener(object: RequestListener<Drawable> { .listener(object: RequestListener<Drawable> {
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean { override fun onLoadFailed(e: GlideException?,
model: Any?,
target: Target<Drawable>?,
isFirstResource: Boolean): Boolean {
callback?.invoke(false) callback?.invoke(false)
return false return false
} }
override fun onResourceReady(resource: Drawable?, model: Any?, target: Target<Drawable>?, dataSource: DataSource?, isFirstResource: Boolean): Boolean { override fun onResourceReady(resource: Drawable?,
model: Any?,
target: Target<Drawable>?,
dataSource: DataSource?,
isFirstResource: Boolean): Boolean {
callback?.invoke(true) callback?.invoke(true)
return false return false
} }