Hello
I have made a photo viewer
When a user click on a next button a new set of images will be loaded
But some times the images are big and it take a moment to load
how can i set a progressbar when the image is loaded, and disapear when the image is loaded succesfull?
I have made a photo viewer
When a user click on a next button a new set of images will be loaded
But some times the images are big and it take a moment to load
how can i set a progressbar when the image is loaded, and disapear when the image is loaded succesfull?
B4X:
If Blznr = 0 Then
ImgVBlad1.Bitmap = LoadBitmap(File.DirAssets, "1.png")
ImgVBlad2.Bitmap = LoadBitmap(File.DirAssets, "2.png")
BtnVorige.Visible = False
Else if Blznr <= 1 Then
BtnVorige.Visible = True
ImgVBlad1.Bitmap = LoadBitmap(File.DirAssets, "3.png")
ImgVBlad2.Bitmap = LoadBitmap(File.DirAssets, "4.png")
End if