Hi...is possible to define for B4AGallery that when image size fetched from url is different size that is in cache that only fetch this image? I have around 4000+ images...and when first time i run all images is fetched from url and added to gallery...but when i close apk and run again and for example image 28 is different size on server....that all images is displayed and only 28 is fetched and saved to cache.... run every time that is apk started using function ClearCache...is not goot because od slow download of all 4000+ images.
Here is code that reads images from url (server) and save it to cache...how to modify it if image size with same name is different only fetch this image:
Sub AddCover(i As Int)
Gallery.AddImageFromWebAt(s,"http://mywebsite/covers/"&Movie(i, 1).Replace(" ","%20").Replace("'", "")&"%20%5B"&Movie(i, 2).Replace(" ","%20")&"%5D%20BIG.jpg")
s = s + 1
Hi..is possible to do all item remove from item gallery and add other items? I have apk that i need to filter movies...so when user select from drop down list genre Action then all items from gallery need to clear and show movie items from action...when user click from drop down list genre Comedy all movie items from gallery action is removed and show Comedy genres.
So i found only the api to remove only one item...RemoveAt As Int[write only]
I need to clear all items and insert new one based on selected filter in dropdown list...i know i can do clearcache but this is performance not good...so this will every time download new items....
Before Inserting new items to gallery from function AddImagesFromWebAt...i use this code to delete all items in my gallery (currently 20) so that gallery will be empty and then add new items with filtered results and add with function AddImagesFromWebAt....filtered items add (for example 100 filtered items) but 101 items and up are previous data that is not removed...how to clear all gallery list before inserting new gallery items?
lonleystar can You Please make new method and add it to this excellent library? I need the function Gallery.ClearAllFromWeb. Function that clears all items inserted to gallery using AddImagesFromWeb...so that i can add new items.
I see in Your code this:
public void ClearCache()
So If You can add this then this will be excellent
public void ClearGallery()
First thank you alot for the lib!
This lib have any type of restriccion of use?
Because when i use many times item click i see a msg with about this lib.
I want add to a project and i need to know if have any limitation and if have another pay version without msg.