In my code, PageCreated calls a Sub. If I navigate away from the page and go back, PageCreated does not fire and the sub does not get called.
I know pages can not be destroyed with B4X which gives a smooth UI but how can I call a method? Initialize will not allow it to be called there.
I tried to initialize the page in the method that calls this page to load but it made no difference. I think I must have missed a very simple thing here. Thank you!
I know pages can not be destroyed with B4X which gives a smooth UI but how can I call a method? Initialize will not allow it to be called there.
I tried to initialize the page in the method that calls this page to load but it made no difference. I think I must have missed a very simple thing here. Thank you!
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("drawinglist")
CLV1.Clear
MsgboxAsync("page created object fired","")
GetLocalDWG '<<<<<<<This needs to fire each time the page is accessed'