<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Android ImageLoader - load images sequencially in the background</title>
	<atom:link href="http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/feed/" rel="self" type="application/rss+xml" />
	<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/</link>
	<description></description>
	<pubDate>Fri, 30 Jul 2010 16:56:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stu</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-14943</link>
		<dc:creator>Stu</dc:creator>
		<pubDate>Mon, 19 Jul 2010 03:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-14943</guid>
		<description>I made queue a bit simpler, by assuming args are not null, also you can use generics throughout:

	public void queue(ImageView image, String url, boolean cache) {
		Iterator  it = queue.iterator();
		if (it.hasNext()) {
			Group group = (Group) it.next();
			group.image = image;
			group.url = url;
			it.remove();
		}

One problem is that you can run out of memory if you use a lot of images, it'd probably be worth caching them to files instead.
		queue.add(new Group(image, url, null, cache));
		loadNext();
	}</description>
		<content:encoded><![CDATA[<p>I made queue a bit simpler, by assuming args are not null, also you can use generics throughout:</p>
<p>	public void queue(ImageView image, String url, boolean cache) {<br />
		Iterator  it = queue.iterator();<br />
		if (it.hasNext()) {<br />
			Group group = (Group) it.next();<br />
			group.image = image;<br />
			group.url = url;<br />
			it.remove();<br />
		}</p>
<p>One problem is that you can run out of memory if you use a lot of images, it&#8217;d probably be worth caching them to files instead.<br />
		queue.add(new Group(image, url, null, cache));<br />
		loadNext();<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-14906</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 13 Jul 2010 01:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-14906</guid>
		<description>How I can get ImageLoader into Hashmap which add into ArrayList? SimpleAdapter load ArrayList for ListView.</description>
		<content:encoded><![CDATA[<p>How I can get ImageLoader into Hashmap which add into ArrayList? SimpleAdapter load ArrayList for ListView.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasikumar</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-4834</link>
		<dc:creator>Sasikumar</dc:creator>
		<pubDate>Thu, 11 Mar 2010 12:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-4834</guid>
		<description>Its Cool :)</description>
		<content:encoded><![CDATA[<p>Its Cool <img src='http://wu-media.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasikumar</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-4832</link>
		<dc:creator>Sasikumar</dc:creator>
		<pubDate>Thu, 11 Mar 2010 12:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-4832</guid>
		<description>Thanks for sharing this code !... Its working cool!..</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this code !&#8230; Its working cool!..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alvaro</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-490</link>
		<dc:creator>Alvaro</dc:creator>
		<pubDate>Tue, 01 Dec 2009 10:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-490</guid>
		<description>Nice code... it works well... i used also a LRU cache instead of HashMap for avoid OutOfMemoryException. Nice again.</description>
		<content:encoded><![CDATA[<p>Nice code&#8230; it works well&#8230; i used also a LRU cache instead of HashMap for avoid OutOfMemoryException. Nice again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: redsolo</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-472</link>
		<dc:creator>redsolo</dc:creator>
		<pubDate>Tue, 17 Nov 2009 08:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-472</guid>
		<description>Thanks for sharing this code, its well done! But I have a question about the cache feature. When is the best time to clear the cache? I mean even if my activity is closed by using the back button, it will still be cached right?</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this code, its well done! But I have a question about the cache feature. When is the best time to clear the cache? I mean even if my activity is closed by using the back button, it will still be cached right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: droider</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-201</link>
		<dc:creator>droider</dc:creator>
		<pubDate>Thu, 10 Sep 2009 09:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-201</guid>
		<description>Thanks for sharing this code!</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Android ImageLoader &#8211; load images sequencially in the background &#171; RussenReaktor&#8217;s Weblog</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-144</link>
		<dc:creator>Android ImageLoader &#8211; load images sequencially in the background &#171; RussenReaktor&#8217;s Weblog</dc:creator>
		<pubDate>Tue, 11 Aug 2009 21:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-144</guid>
		<description>[...] &#187; wu-media.com [...]</description>
		<content:encoded><![CDATA[<p>[...] &raquo; wu-media.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menion</title>
		<link>http://wu-media.com/2009/06/android-imageloader-load-images-sequencially-in-the-background/comment-page-1/#comment-115</link>
		<dc:creator>Menion</dc:creator>
		<pubDate>Sun, 02 Aug 2009 10:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=110#comment-115</guid>
		<description>Thanx for nice piece of code. I think it will be very usefull not even for me ;)</description>
		<content:encoded><![CDATA[<p>Thanx for nice piece of code. I think it will be very usefull not even for me <img src='http://wu-media.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
