For now, I'll keep my own global B4XSet with page ids in B4XMainPage, and check with .Contains.
There is such a set in B4XPageManger, but it is not Public.
In this project, the pages are created based on various decisions the user makes. Moreover, the initialization of the page is quite involved.
So at first I thought that I would not initialize the page instance until needed. Hence my question.
However, your answer made me take an hour and move the dynamic parts out of initialization and into create. It works very well.
Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.