From 4f083591236e651f48813111e9e9b08c51825d84 Mon Sep 17 00:00:00 2001 From: Axel Laffite Date: Fri, 25 Sep 2020 08:23:37 +0200 Subject: [PATCH] refactor: println removed --- .../main/java/com/axellaffite/fastgallery/ImageViewPager.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/FastGallery/src/main/java/com/axellaffite/fastgallery/ImageViewPager.kt b/FastGallery/src/main/java/com/axellaffite/fastgallery/ImageViewPager.kt index 9656480..280f475 100644 --- a/FastGallery/src/main/java/com/axellaffite/fastgallery/ImageViewPager.kt +++ b/FastGallery/src/main/java/com/axellaffite/fastgallery/ImageViewPager.kt @@ -24,7 +24,6 @@ class ImageViewPager(var images: List, private val converter: (Ima return ImageViewHolder(view, object: Target { override fun onBitmapLoaded(bitmap: Bitmap?, from: Picasso.LoadedFrom?) { - println("Loaded") bitmap?.let { val res = onImageLoadListener?.onSuccess(bitmap) ?: bitmap view.setImage(ImageSource.bitmap(res)) @@ -32,7 +31,6 @@ class ImageViewPager(var images: List, private val converter: (Ima } override fun onBitmapFailed(e: Exception?, errorDrawable: Drawable?) { - println("failed") e?.printStackTrace(System.err) onImageLoadListener?.onError()?.let { view.setImage(ImageSource.bitmap(it)) @@ -40,7 +38,6 @@ class ImageViewPager(var images: List, private val converter: (Ima } override fun onPrepareLoad(placeHolderDrawable: Drawable?) { - println("prepare") onImageLoadListener?.onPrepare()?.let { view.setImage(ImageSource.bitmap(it)) }