hardartcore
hardartcore

Reputation: 17037

Android List View

So basically I have a function which is something like that :

public static Bitmap getBitmapFromURL(String src) 

, which return decrypted Bitmap.I need to be able to use that Bitmap into a Lazy loading ListView. Example : So I have a ListView.I'm downloading encrypted images and use that getBitmapFromURL function to return them as Bitmap,and after that I want to be able to reload the ListView with the new images which getBitmapFromURL returns to me.I want to find a way to save them in cache so when there is like 50 loaded jpg's in ListView I want to be able to delete the first loaded and keep only these which are visible while scrolling the ListView.And do exactly the same thing when I have another 50 loaded images.Any Suggestions how I can do this?

Upvotes: 0

Views: 190

Answers (1)

Sherif elKhatib
Sherif elKhatib

Reputation: 45942

This is the well-known lazyList :

http://open-pim.com/tmp/LazyList.zip

I have created the gridView with spinner I will upload it tomorrow and make it available (: Maybe create a tutorial ... I am off now I will keep you in mind

Upvotes: 2

Related Questions