Hi to all
This is my Sub to load the layout:
Before upgrading everything worked but now in this line:
Pannello.LoadLayout(layout)
Compare this error:
"LastException java.lang.RuntimeException:java.lang.NullPointerException"
Why?
Thanks
This is my Sub to load the layout:
B4X:
Sub CaricaLayout(layout As String, vis As Boolean)
If Pannello.IsInitialized Then
Pannello.RemoveViewAt(0)
End If
Pannello.Initialize("")
Pannello.LoadLayout(layout)
Activity.AddView(Pannello, 0, 0, 100%x, 100%y)
Pannello.Color = Colors.ARGB(255, 0,0,0)
Pannello.BringToFront
Pannello.Visible = vis
End Sub
Before upgrading everything worked but now in this line:
Pannello.LoadLayout(layout)
Compare this error:
"LastException java.lang.RuntimeException:java.lang.NullPointerException"
Why?
Thanks