Android Question Problem with Multiple Downloads in Listview

omo

Active Member
Licensed User
Longtime User
I am trying to implement multiple downloads in one of my apps by combining the xui-expandable custom listview (or xcustomlistview view) and download huge files which Erel explained here:
https://www.b4x.com/android/forum/threads/b4x-xui-expandable-list-based-on-xcustomlistview.86449/
https://www.b4x.com/android/forum/threads/download-huge-files-with-httputils2.30220/

Once the user clicks on any of the download, the download should begin and shows respective progressbar indicator for the download click. However, in the sample attached below, once i click any download, the progress and file size label counter usually appear in the last item. I tried many times but couldn't resolve it. Below is the attached sample code (from my Google drive due to size): Multiple Download Sample.

I wouldn't mind if i can see another sample of multiple downloads that uses xui-customlistview with progressbar indicators if this can not be resolved.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…