Don't use ListView.
Use xCustomListView - it is more powerful, easier to work with and cross platform.
Use xCustomListView - it is more powerful, easier to work with and cross platform.
Last edited:
Hi Klaus and thanks for the prompt response..
The data is in a text file that can be editable at runtime (dir internal or SD card) it is like this:
1.jpg, 1.txt, 11.txt
2.jpg, 2.txt, 22.txt
3.jpg, 3.txt, 33.txt
.
.
.
50.jpg, 50.txt, 550.txt
I will need the two text values of all selected items returned. (e.g. 1.txt and 11.txt) do I also need a checkbox inside the item?
Thanks in advance
It depends always on what you want or need.Beja,
Bejas' question is : do I need a CheckBox, not I want a CheckBox?LucaMs
Type tItemTexts(Description As String, Price As String)
Private ItemTexts As tItemTexts
ItemTexts.Initialize
ItemTexts.Description = "text1 from file"
ItemTexts.Price = "text2 from file"
' lv.AddTwoLinesAndBitmap2("text1FromFile", "text2FromFile", Bmp, ItemTexts)
' OR
lv.AddTwoLinesAndBitmap2(ItemTexts.Description, ItemTexts.Price, Bmp, ItemTexts)
Sub lv_ItemClick (Position As Int, Value As Object)
Private ItemTexts As tItemTexts = Value
log(ItemTexts.Description & " - " & ItemTexts.Price)
End Sub
I will point this post to him
No need, Luca..
Enough people know my level of ignorance and no need to promote it through testimonials.
LV.TwoLinesLayout.Label.TextColor = Colors.White
LV.TwoLinesLayout.Label.TextSize = 16
LV.TwoLinesLayout.SecondLabel.TextColor = Colors.Green
LV.TwoLinesLayout.SecondLabel.TextSize = 12