Hi everyone, i'm using B4XPages on Android and i have this scenario:
- I've a class that handles http requests (let's call A)
- I've a B4XPage (let's call B)
When the app is opened/resumed, a method of the
A class is called, when it finishes his work it must call a Sub that is located in
B (if it is disaplayed obvs.), to update the UI.
Blueprint of the code:
Sub A As ResumableSub
... Work
If B4XPages.GetManager.GetTopPage.Id == "B" Then CallSub(B, "UpdateUI") '<---- CallSub does not work for B4XPage
End Sub
How can i achive this result?
thanks in advance