Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed annoying logs

  • Loading branch information...
commit cd6616c05f239fddc3db44e614109e4e88667b84 1 parent 4de9d73
@luigi-agosti luigi-agosti authored
View
3  core/src/main/java/com/novoda/imageloader/core/loader/ConcurrentLoader.java
@@ -40,14 +40,11 @@ public void load(ImageView imageView) {
return;
}
try {
- Log.v("YYY", "checking cache");
Bitmap b = loaderContext.getCache().get(w.getUrl(), w.getHeight(), w.getWidth());
if (b != null) {
- Log.v("YYY", "image not in cache");
w.setBitmap(b);
return;
}
- Log.v("YYY", "using task");
setResource(w, w.getLoadingResourceId());
new LoaderTask(imageView, loaderContext).execute();
} catch (ImageNotFoundException inf) {
View
4 core/src/main/java/com/novoda/imageloader/core/loader/util/LoaderTask.java
@@ -20,7 +20,6 @@
import android.content.Context;
import android.graphics.Bitmap;
-import android.util.Log;
import android.widget.ImageView;
import com.novoda.imageloader.core.LoaderContext;
@@ -61,7 +60,6 @@ protected Bitmap doInBackground(String... arg0) {
}
Bitmap b = loaderContext.getCache().get(url, width, height);
if (b != null) {
- Log.v("LoaderTask", "Loading image from cache");
return b;
}
File imageFile = getImageFile(imageWrapper);
@@ -70,7 +68,6 @@ protected Bitmap doInBackground(String... arg0) {
return null;
}
try {
- Log.v("LoaderTask", "Loading from network");
loaderContext.getNetworkManager().retrieveImage(url, imageFile);
} catch (ImageNotFoundException inf) {
return getNotFoundImage(imageWrapper.getContext());
@@ -84,7 +81,6 @@ protected Bitmap doInBackground(String... arg0) {
private Bitmap getImageFromFile(File imageFile) {
Bitmap b = loaderContext.getBitmapUtil().decodeFileAndScale(imageFile, width, height);
- Log.v("LoaderTask", "image from file");
if(b == null) {
return b;
}
Please sign in to comment.
Something went wrong with that request. Please try again.