I am trying to confirm how the code flow works between these two events ...
I have a significant amount of code in my MainPage B4XPage_Created sub, including creating (but not showing) 4 additional pages which themselves have a fair amount of code in their creation events.
From what I can see, the MainPage B4XPage_Appear code starts running before the B4XPage_Created code has completed. Other pages don't have this problem because I control each of them with B4XPages.ShowPage()
Am I correct in my analysis?
If so, How do I make sure that code in the MainPage B4XPage_Created is completed before the code in B4XPage_Appear?
I have a significant amount of code in my MainPage B4XPage_Created sub, including creating (but not showing) 4 additional pages which themselves have a fair amount of code in their creation events.
From what I can see, the MainPage B4XPage_Appear code starts running before the B4XPage_Created code has completed. Other pages don't have this problem because I control each of them with B4XPages.ShowPage()
Am I correct in my analysis?
If so, How do I make sure that code in the MainPage B4XPage_Created is completed before the code in B4XPage_Appear?