Declare all your pages as Public in Sub Class_Globals in the B4XMainPage module.
View attachment 152542
This way you will be able to access functions that exist within the page.
when I want to open a page and pass a value to the page.
B4XPages.ShowPage("PageData")
B4XPages.MainPage.PageData.loadData("2")
View attachment 152543
this way, you open the page
and pass the parameter you want.
Dear All , Trying to find an easy way to pass values between pages. Best Regards , Przemyslaw