[android-developers] Lazy Loading of images in the list view

2010-04-10 Thread praj
Hi, I was trying to implement the lazy loading of images in the list view. For implementing this i was referring to post by Tom van Zummeren. (http://blog.jteam.nl/2009/09/17/exploring-the-world-of-android- part-2/), but my images keep on changing in the list. Please can anyone let me know if they

Re: [android-developers] Lazy Loading of images in the list view

2010-04-10 Thread Prajakta Shitole
Forgot to paste my code:- class IconicAdapter extends ArrayAdapter { Activity context; Context context2; HashMap ret = new HashMap(); AsyncLoader async;// = new AsyncLoader(); private ListView listView; HashMap bit = new HashMap(); IconicAdapter(Activity context) { super(context, R.layout.exclus

Re: [android-developers] Lazy Loading of images in the list view

2010-04-10 Thread Prajakta Shitole
I was able to resolve the issue, just made simple tweaks like removing the drawableMap we just need the imageCache. On Sat, Apr 10, 2010 at 10:51 AM, Prajakta Shitole wrote: > Forgot to paste my code:- > > class IconicAdapter extends ArrayAdapter { > Activity context; > Context context2; > HashM

Re: [android-developers] Lazy Loading of images in the list view

2010-04-10 Thread Carmen Delessio
I think this is a recurring topic. Here is something I posted on it previously. I was looking for a recommended or consensus approach. Romain mentioned that his technique takes into consideration things like whether the list is scrolling or not. Here are 4 references that I have found for lazy-lo

Re: [android-developers] Lazy Loading of images in the list view

2010-04-10 Thread Prajakta Shitole
Hi Carmen, It was because of your post that I could implement the above code. I found the links from your post itself. Thanks for the links and procedure. Thanks, Prajakta On Sat, Apr 10, 2010 at 2:52 PM, Carmen Delessio wrote: > I think this is a recurring topic. Here is something I posted on

Re: [android-developers] Lazy Loading of images in the list view

2010-04-10 Thread Prajakta Shitole
I am currently trying to display a spinning progress bar till my images load in the progress bar, My progress bars are visible and when the images appear only the first row of my listview is displayed properly - as in the progress bar is dismissed and the image appears however for the rest of the r