Dear all.
Greetings,
I need to set values for certain item in CLV, how?
the following part of code but not work right.
Any help please,
Thanks on advance for any help
Best regards
Greetings,
I need to set values for certain item in CLV, how?
the following part of code but not work right.
B4X:
Sub Globals
Private CLV1 As CustomListView
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout ("1")
End Sub
Private Sub Update_Click
Dim i As Int
Try
Dim SmallPanel As Panel
Dim SmallLable As Label
For i=2 To 4 'CLV1.Size-1
SmallPanel = CLV1.GetPanel(i)
SmallLable = SmallPanel.GetView(1)
SmallLable.Text = "Value : " & i
Next
Catch
ToastMessageShow ( LastException, True)
End Try
End Sub
Any help please,
Thanks on advance for any help
Best regards