[CustomListView]: Click Event?

thewavemaster

Member
Licensed User
Longtime User
Hello!

I have a CustomListview containing two labels and one picture per line.

I dont succeed in creating a Click event...


e.g.:


Sub CustomListview_Click(Clickedline as Integer)
...
End Sub
 

mangojack

Expert
Licensed User
Longtime User
B4X:
Sub Globals
   Dim clv1 As CustomListView
End Sub

Sub Activity_Create(FirstTime As Boolean)
   clv1.Initialize(Me, "clv1")
End Sub

Sub clv1_ItemClick (Index As Int, Value As Object)

   Log(Value)

End Sub

Cheers mj
 
Upvote 0
Top