Please excuse my english… I’m French 🙂
I write this post because I have a little problem with my Android application !
I have got a listview, with images and text, and I want to load images ONLY when the user see the items.
For example:
- We have got 1000 items in the listview
- User scroll and display item 52 to item 57.
- I want to load images for thoses items
- I want to unload (to free memory) other items
Am I clear ?
Thanks for your help !
You should create a custom listview adapter you have a lot of examples in internet, for example: asynchronous image listview or multithreading-for-performance or the thread: Load asynchronous images in listView