mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Log is done only when debugging is enabled (#59)
This commit is contained in:
@@ -124,7 +124,9 @@ public abstract class Worker {
|
|||||||
}
|
}
|
||||||
imageView.setImageBitmap(value);
|
imageView.setImageBitmap(value);
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
|
if (debuggable > 0) {
|
||||||
Log.d(TAG, "OnImageLoadedListener on: " + imageView + " to: " + dataString);
|
Log.d(TAG, "OnImageLoadedListener on: " + imageView + " to: " + dataString);
|
||||||
|
}
|
||||||
listener.onImageLoaded(true);
|
listener.onImageLoaded(true);
|
||||||
}
|
}
|
||||||
} else if (cancelPotentialWork(data, imageView)) {
|
} else if (cancelPotentialWork(data, imageView)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user