Hi to all!
I have an old project and I needed to update it, but now I have sync problems with subs in Activity_Create and Activity_Resume, in which now there are many resumable subs.
My code is like this:
Sub1, Sub2 and Sub3 are all "As ResumableSub" and return null.
The problem that I have is that after execution of Sub1, the code flow executes Sub3.
How can I solve it? Many thanks to all
I have an old project and I needed to update it, but now I have sync problems with subs in Activity_Create and Activity_Resume, in which now there are many resumable subs.
My code is like this:
B4X:
Sub Activity_Create (FirstTime As Boolean)
Wait For (Sub1) Complete (Result As Object)
Wait For (Sub2) Complete (Result As Object)
End Sub
Sub Activity_Resume
Wait For (Sub3) Complete (Result As Object)
End Sub
The problem that I have is that after execution of Sub1, the code flow executes Sub3.
How can I solve it? Many thanks to all