Hi guys,
Ran this example
There are codes on B4XMainPage
Variables Page2 & Page3, why they are need to be public?
I think public or private doesn't matter in this case, cause with the new method B4XPages.GetPage(Id), Page2/Page3 can be accessed from any sub or class. RIght?
Ran this example
[B4X] B4XPages - Cross platform and simple framework for managing multiple pages
B4XPages is a library that serves two purposes: 1. Make it simple to develop B4A apps by solving almost all of the challenges involved with Android complex activities life cycle. B4XPages makes B4A behave more similar to B4J and B4i where the new "B4XPage" element is a regular object that is...
b4x.com
There are codes on B4XMainPage
B4X:
Sub Class_Globals
Private Root As B4XView 'ignore
Private xui As XUI 'ignore
Public txtUser As B4XFloatTextField
Private btnLogin As B4XView
Public Page2 As B4XPage2
Public Page3 As B4XPage3
End Sub
Variables Page2 & Page3, why they are need to be public?
I think public or private doesn't matter in this case, cause with the new method B4XPages.GetPage(Id), Page2/Page3 can be accessed from any sub or class. RIght?