I gauge my level of knowledge of B4X by my use of B4XTable, xCLV, xChart and Sqlite. It will be great if there are examples of each of the four using the new B4XPages. Until then, I am having a difficult time conceptualizing B4XPages.
There is nothing special that needs to be done to use these features with B4XPages. Just move the code to the class.
Example with CLV:
B4X:
'B4XMainPage
Sub Class_Globals
Private Root As B4XView 'ignore
Private xui As XUI 'ignore
Private CustomListView1 As CustomListView
End Sub
Public Sub Initialize
End Sub
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("1")
For i = 1 To 100
CustomListView1.AddTextItem(i, i)
Next
End Sub
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.