HI all,
I have this code that I would like to run as fast as possible :
If I remove the Sleep(0) then the UI freezes.
Is there a way to optimize it ?
Threading library ? Something else ?
Thanks for your help
I have this code that I would like to run as fast as possible :
B4X:
For i= 0 To list_files.Size -1
ImageView1.Bitmap = LoadBitmap(Dir,list_files.Get(i))
Sleep(0)
Next
If I remove the Sleep(0) then the UI freezes.
Is there a way to optimize it ?
Threading library ? Something else ?
Thanks for your help