Hi Everyone,
Can someone help me with the following?
Starting from the example given by Erel
https://www.b4x.com/android/forum/threads/grid-class-preoptimizedclv.116309/#post-726808
How can I get the index of the image I clicked on? Even if I click on the image in column 2,3,4, I get the same result.
Private Sub CustomListView1_ItemClick (Index As Int, Value As Object)
Log(Index&" : "&Value)
End Sub
Result :
0 : [IndexOfFirstImage=1, IsInitialized=true]
0 : [IndexOfFirstImage=1, IsInitialized=true]
0 : [IndexOfFirstImage=1, IsInitialized=true]
0 : [IndexOfFirstImage=1, IsInitialized=true]
1 : [IndexOfFirstImage=5, IsInitialized=true]
1 : [IndexOfFirstImage=5, IsInitialized=true]
1 : [IndexOfFirstImage=5, IsInitialized=true]
1 : [IndexOfFirstImage=5, IsInitialized=true]