Merge remote-tracking branch 'Sinofine/bubble-scale' into sc
Change-Id: I8d1ec00d90280bdfa107ec25b6ca691169b00ba5
This commit is contained in:
commit
7c43d951fb
|
@ -117,6 +117,7 @@ class ImageContentRenderer @Inject constructor(
|
||||||
*/
|
*/
|
||||||
GlideApp.with(imageView)
|
GlideApp.with(imageView)
|
||||||
.load(imageUrl)
|
.load(imageUrl)
|
||||||
|
.fitCenter()
|
||||||
.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 {
|
||||||
Timber.e("Rendering url $imageUrl failed: $e")
|
Timber.e("Rendering url $imageUrl failed: $e")
|
||||||
|
|
Loading…
Reference in New Issue