B4J Question [BANano] How to "Wait For" using CallInlinePHPWait?

Mashiane

Expert
Licensed User
Longtime User
Hi there

As per subject matter. Let's perhaps have this case scenario... (me failing to get this to work)

B4X:
Sub A()
    DoSomething
    BANAno.CallInlinePHPWait(...)
    PerhapsAnother
End Sub

B4X:
Sub B
     DoSomething
     DoAnother
     A
      DoLastThing
End Sub

How do I ensure that the A called inside B waits for the sub to complete? I somehow have a misfire or perhaps coding the whole thing wrongly.

Thanks a lot.
 
Top