I'm using a custom B4XPage template to simplify the initialization and showing of B4XPages. Is there any kind of variable (such as $APPNAME$ in b4xtemplate files) that I could use to automatically initialize the Id field?
template:
Sub Class_Globals
Private Id As String = ""
Private Root As B4XView
End Sub
Public Sub Initialize As Object
B4XPages.AddPage(Me, Id)
Return Me
End Sub
Public Sub Show
B4XPages.ShowPage(Id)
End Sub
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
' Root.LoadLayout("")
End Sub