diff --git a/src/cn/trinea/android/demo/ImageCacheDemo.java b/src/cn/trinea/android/demo/ImageCacheDemo.java
index b2619a0..23d402a 100644
--- a/src/cn/trinea/android/demo/ImageCacheDemo.java
+++ b/src/cn/trinea/android/demo/ImageCacheDemo.java
@@ -109,6 +109,12 @@ protected void onDestroy() {
super.onDestroy();
}
+ /**
+ * if you just want load image for ImageView, just like this, no need to setOnImageCallbackListener and so on like
+ * static
below
+ */
+ // public static final ImageCache IMAGE_CACHE = CacheManager.getImageCache();
+
/** icon cache **/
public static final ImageCache IMAGE_CACHE = new ImageCache(128, 512);
diff --git a/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java b/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java
index a6e0b75..6aea934 100644
--- a/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java
+++ b/src/cn/trinea/android/demo/ImageSDCardCacheDemo.java
@@ -64,6 +64,12 @@ protected void onDestroy() {
super.onDestroy();
}
+ /**
+ * if you just want load image for ImageView, just like this, no need to setOnImageSDCallbackListener and so on like
+ * static
below
+ */
+ // public static final ImageSDCardCache IMAGE_SD_CACHE = CacheManager.getImageSDCardCache();
+
/** image cache **/
public static final ImageSDCardCache IMAGE_SD_CACHE = new ImageSDCardCache();