Hello,
i am working on an application where it loads images from website (representing products)
when click on an image it should go to a new function which load details of product and allow to buy
my problem is the first page will not handle any clicks until all images are loaded
i am using the below code to load the images from the website
EncodedImage placeholder = EncodedImage.createFromImage(Image.createImage(300, 400, 0xffff0000), true);
URLImage background = URLImage.createToStorage(placeholder, name1+"-300_400.jpg",URL+"/images/"+name1);
background.fetch();
Label imagelabel=new Label();
imagelabel.setIcon(background);
how i can stop the background fetch when click
thank you