Sub Class_Globals
Private Root As B4XView 'ignore
Private xui As XUI 'ignore
Private ListView1 As B4XView
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
'ERROR WHEN DO THIS:' I LayoutNotas i have only a listview control
Root.LoadLayout("LayoutNotas")
End Sub