I Just added a new page to my B4XPages project
The layout simply has one label in it at the moment
Not sure what I have done wrong. I have tried recreating the layout but the result is the same.
Surely I have over looked something.
Page Code:
Sub Class_Globals
Private Root As B4XView 'ignore
Private xui As XUI 'ignore
End Sub
'You can add more parameters here.
Public Sub Initialize As Object
Return Me
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
'load the layout to Root
Root.LoadLayout("testtony")
End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
If I run in debug mode the error doesn't happen I just get a screen with no views on it and the IDE log shows nothing when filtered.
Turning filter off shows attached log.
Thanks Erel I put Starter service back.
I found my error. I didn't initialize.
All fixed thank you.
I should have just went to bed and look next day LoL