I want to decode bitmap stream from network then put in listview items. I use multithread for this issue. When user scroll on listview, the threads is running preloadtasks not necessary will be canceld(decodeBitmap) to give priority for tasks which show current images.
The problem here is thread cannot be interrupted while decodeBitmap, and still useless task until it's done.
How to resolve for this issue? Thanks for all the help.