I am using the following code to display a huge list of items:
If i change the 10000%y) to 100%, only a few items from the list will be displayed - but even now with over 2000dip oder %y not all items are displayed ?
B4X:
Dim NEMListView As ListView
NEMListView.Initialize("NEMListView")
ScrollView1.Panel.AddView(NEMListView, 5, 5, 100%x,10000%y)
'NEMListView.TwoLinesLayout
Dim Label1, Label2 As Label
Label1.Initialize ("")
Label2.Initialize ("")
NEMListView.TwoLinesLayout.ItemHeight = 50
Label1 = NEMListView.TwoLinesLayout.Label
If DeviceType = "3" Then
Label1.TextSize = 16
Else
Label1.TextSize = 12
End If
Label2.TextColor = Colors.White
Label2 = NEMListView.TwoLinesLayout.SecondLabel
If DeviceType = "3" Then
Label2.TextSize = 14
Else
Label2.TextSize = 10
End If
Label2.TextColor = Colors.Yellow
' NEM-Liste darstellen
NEMListView.AddTwoLines2 ("NEM 001 Einführung in die NEM","D 1983",1)
...
...
...
...
If i change the 10000%y) to 100%, only a few items from the list will be displayed - but even now with over 2000dip oder %y not all items are displayed ?