I may be missing something here but....
Using SMM 1.07 and the SMM example 2 which displays images in 4 columns I add
When I run the demo and tap on each picture in the first and second rows I get the following -
For each item on the first row
Index = 0
Value = [IndexOfFirstImage=1, IsInitialized=true]
and each value on the second row is
Index = 1
Value = [IndexOfFirstImage=5, IsInitialized=true]
I understand why IndexOfFirstImage changes from 1 to 5 but how can I know which image on the row of 4 has actually been clicked?
Thanks for reading!
Using SMM 1.07 and the SMM example 2 which displays images in 4 columns I add
B4X:
Sub CustomListView1_ItemClick (Index As Int, Value As Object)
Log ("Index = " & Index)
Log ("Value = " & Value)
End Sub
When I run the demo and tap on each picture in the first and second rows I get the following -
For each item on the first row
Index = 0
Value = [IndexOfFirstImage=1, IsInitialized=true]
and each value on the second row is
Index = 1
Value = [IndexOfFirstImage=5, IsInitialized=true]
I understand why IndexOfFirstImage changes from 1 to 5 but how can I know which image on the row of 4 has actually been clicked?
Thanks for reading!