consider the following sample code
B4XPages.ShowPage("ConfigWizardPage")
ConfigWizardHasBeenShown = True
code flow continues immediately after line 1
line 2 is executed just after ShowPage as been called just as ShowPage woud be a Resumable Sub
my intended code flow would be just like
Wait For (B4XPages.ShowPage("ConfigWizardPage")) Complete (unused As Boolean)
ConfigWizardHasBeenShown = True
so that line 2 would be executed after the "ConfigWizardPage" has been shown and the ClosePage(Me) from that page has been called
is there a simple way to achieve that?