I have a ListView with 4 photos on each row, and a photo download manager handling the download of all those photos. I've limited the number of threads downloading my photos because I had way too much threads created on arrival on the ListView ( It used to be : 4 photos per row * 5 or 6 rows displayed => 20/25 Threads, and + if you scroll )
So the thing is the UI Thread gets busy, and when I click on my items while photos are loading, the OnItemClickEvent is sometimes skipped, and the user has to wait the end of the downloads of click like crazy.
Is there a way to avoid skipped event like that ?
Update : I'm sending broadcast each time a photo has been downloaded, and notifyDataSetChanged on my ListView adapter.