I get this message in the logs:
when I fill the customlistview in B4A 5.8 Beta 1
In previous versions of B4A I don't get this message.
The same message is raised when I load layouts into AHViewPager library to create sliding panels.
What is the problem and how to fix it?
In attached there is my code using customlistview example.
This code is:
It shows 10 messages in log with warning: "Panel size is unknown.".
B4X:
Panel size is unknown. Layout may not be loaded correctly.
In previous versions of B4A I don't get this message.
The same message is raised when I load layouts into AHViewPager library to create sliding panels.
What is the problem and how to fix it?
In attached there is my code using customlistview example.
This code is:
B4X:
Sub Globals
Dim clv1 As CustomListView
Private TablePanel As Panel
Private lbTitle As Label
Private lbDate As Label
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("1")
For i = 1 To 10
Dim p As Panel
p.Initialize("panel")
p.LoadLayout("listpanel")
lbTitle.Text = i
lbDate.Text = DateTime.Date(DateTime.Now)
clv1.Add(p, TablePanel.Height, i)
Next
End Sub
It shows 10 messages in log with warning: "Panel size is unknown.".