Android Question [B4XPages] Where to declare, initialize and...

LucaMs

Expert
Licensed User
Longtime User
(Starting a new project)

I created a Region containing all the declarations, initializations and additions to B4XPages (using AddPage, not AddPageAndCreate) of the pages that I think I need.
I created this "block" inside the Initialize routine of the B4XMainPage but doing so, on start I don't see the B4XMainPage but the first one I added to B4XPages.
Moving this Region to the B4XPage_Created routine, the B4XMainPage is the first shown (as I wanted).

Isn't it strange?


[Thinking about it better... useless question: if it is so... it is so šŸ˜Š ]
 
Top