S Steve-h Member Oct 19, 2021 #1 Hello Am I correct in thinking with B4xPages there is one Activity_Create located in Main. The code in here calls B4x PagesManager and the B4XMainPage ? If so and I want to initialise Timer1 is that done in Activity_Create or in the B4XMainPage. Thank you.
Hello Am I correct in thinking with B4xPages there is one Activity_Create located in Main. The code in here calls B4x PagesManager and the B4XMainPage ? If so and I want to initialise Timer1 is that done in Activity_Create or in the B4XMainPage. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Oct 19, 2021 #2 Never add code to the Main activity. Initialize the timer in B4XPage_Created of B4XMainPage. Upvote 0
D Dey Active Member Licensed User Longtime User Oct 19, 2021 #3 Erel said: Never add code to the Main activity. Initialize the timer in B4XPage_Created of B4XMainPage. Click to expand... Hello, is it possible to have the reasons? example, I load and manage a small portion of common layout for the whole app, what problems can I encounter? Thank you Upvote 0
Erel said: Never add code to the Main activity. Initialize the timer in B4XPage_Created of B4XMainPage. Click to expand... Hello, is it possible to have the reasons? example, I load and manage a small portion of common layout for the whole app, what problems can I encounter? Thank you
Erel B4X founder Staff member Licensed User Longtime User Oct 20, 2021 #4 Dey said: example, I load and manage a small portion of common layout for the whole app, what problems can I encounter? Click to expand... Better to start a new thread and exactly explain what are you adding to the Main module. Upvote 0
Dey said: example, I load and manage a small portion of common layout for the whole app, what problems can I encounter? Click to expand... Better to start a new thread and exactly explain what are you adding to the Main module.