C CR95 Active Member Licensed User May 19, 2025 #1 I fill a CLV of several lines with 3 images per line. Loading is asynchronous and depending on the size of the images, the filling of the CLV is random. I am looking for a subroutine that could test when ALL the images are finished to be loaded (could be several seconds after the beginning)
I fill a CLV of several lines with 3 images per line. Loading is asynchronous and depending on the size of the images, the filling of the CLV is random. I am looking for a subroutine that could test when ALL the images are finished to be loaded (could be several seconds after the beginning)
b4x-de Active Member Licensed User Longtime User May 19, 2025 #2 Please provide some code snippet. It makes it easier to help you. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 20, 2025 #3 Are you using SMM? You can handle the MediaReady event and count the number of events raised. Upvote 0
C CR95 Active Member Licensed User May 20, 2025 #4 Are you using SMM? Click to expand... No, this is an old application using OKHttp. I will change that. You can handle the MediaReady event and count the number of events raised. Click to expand... I suppose that I have to count the number of requests... and then wait and count that they are all received. Thanks to all for your help Upvote 0
Are you using SMM? Click to expand... No, this is an old application using OKHttp. I will change that. You can handle the MediaReady event and count the number of events raised. Click to expand... I suppose that I have to count the number of requests... and then wait and count that they are all received. Thanks to all for your help