Skip to content

Commit faaeb11

Browse files
committed
Sample: Removed broken URLs, limit disk cache
1 parent 0c4981a commit faaeb11

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sample/src/com/nostra13/example/universalimageloader/Constants.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ public final class Constants {
124124
// Light images
125125
"http://tabletpcssource.com/wp-content/uploads/2011/05/android-logo.png",
126126
"http://simpozia.com/pages/images/stories/windows-icon.png",
127-
"https://si0.twimg.com/profile_images/1135218951/gmail_profile_icon3_normal.png",
128-
"http://www.krify.net/wp-content/uploads/2011/09/Macromedia_Flash_dock_icon.png",
129127
"http://radiotray.sourceforge.net/radio.png",
130128
"http://www.bandwidthblog.com/wp-content/uploads/2011/11/twitter-logo.png",
131129
"http://weloveicons.s3.amazonaws.com/icons/100907_itunes1.png",

sample/src/com/nostra13/example/universalimageloader/UILApplication.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public static void initImageLoader(Context context) {
5353
.threadPriority(Thread.NORM_PRIORITY - 2)
5454
.denyCacheImageMultipleSizesInMemory()
5555
.diskCacheFileNameGenerator(new Md5FileNameGenerator())
56+
.diskCacheSize(50 * 1024 * 1024) // 50 Mb
5657
.tasksProcessingOrder(QueueProcessingType.LIFO)
5758
.writeDebugLogs() // Remove for release app
5859
.build();

0 commit comments

Comments
 (0)