Mar 16, 2015 Replies: 7 This class helps with downloading multiple images and setting them to multiple ImageViews. It is similar to B4A ImageDownloader class: https://www.b4x.com/android/forum/t...-simple-way-to-download-images.30875/#content Using it is simple, you just need to create a map that maps between the ImageViews and the links with the images and it will download the images and set them. You can call Download multiple times with different maps. Note that ImageDownloader object should usually be referenced with a global variable. Attachments ImageDownloader.zip ImageDownloader.zip 4.9 KB · Views: 460 Click to expand...
This class helps with downloading multiple images and setting them to multiple ImageViews. It is similar to B4A ImageDownloader class: https://www.b4x.com/android/forum/t...-simple-way-to-download-images.30875/#content Using it is simple, you just need to create a map that maps between the ImageViews and the links with the images and it will download the images and set them. You can call Download multiple times with different maps. Note that ImageDownloader object should usually be referenced with a global variable.
S susu Well-Known Member Licensed User Longtime User Jul 31, 2015 #3 Note: This class can not deal with file name contains space.
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2015 #4 You are responsible for url escaping the parameters. You can use StringUtils for this.
jazzzzzzz Active Member Licensed User Longtime User Jun 10, 2016 #5 Why there is no caching in this class like in android...?
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2016 #6 iOS is simpler than Android. The purpose of the cache in the B4A version is to reuse the images when the activity is recreated (mainly when the screen is rotated). This is not relevant here as the pages are only created once.
iOS is simpler than Android. The purpose of the cache in the B4A version is to reuse the images when the activity is recreated (mainly when the screen is rotated). This is not relevant here as the pages are only created once.
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2016 #8 Example of CustomListView with ImageDownloader. Attachments ImageDownloaderWithCLV.zip ImageDownloaderWithCLV.zip 8.8 KB · Views: 120