Hi all
I am using Erel's Custom List View class to create a modified custom list view and I am not sure about how to use the 'Value' parameter here:
My method to add to the custom list view is:
My CreateListItem signature is (Erel's example uses one string whereas I have three):
I am sure it is something quite simple...
Thanks
I am using Erel's Custom List View class to create a modified custom list view and I am not sure about how to use the 'Value' parameter here:
B4X:
'Adds a custom item.
Public Sub Add(Pnl As Panel, ItemHeight As Int, Value As Object)
InsertAt(items.Size, Pnl, ItemHeight, Value)
End Sub
My method to add to the custom list view is:
B4X:
cvWords.Add(CreateListItem(id,Eng,Ar,cvWords.AsView.Width,50)50dip, ???)
My CreateListItem signature is (Erel's example uses one string whereas I have three):
B4X:
Sub CreateListItem(ID As String, EW As String, AW As String, Width As Int, Height As Int) As Panel
I am sure it is something quite simple...
Thanks