I tried the 'Awesome Kitchen Sink' example and dwelt on vCard-1
I wondered how by clicking the MESSAGE button it is possible to identify which CARD has been clicked.
I wondered how by clicking the MESSAGE button it is possible to identify which CARD has been clicked.
B4X:
Sub buildteam
Dim team As List
team.Initialize
team.Add(CreateMap("name": "Iyad", "role": "web developer", "avatar": "./assets/img1.png"))
team.Add(CreateMap("name": "Reda", "role": "Graphic designer", "avatar": "./assets/img2.png"))
team.Add(CreateMap("name": "Zineb", "role": "web developer", "avatar": "./assets/img3.png"))
team.Add(CreateMap("name": "Hu TechGroup", "role": "Desktop developer", "avatar": "./assets/img4.png"))
about.SetData("team", team)
End Sub
B4X:
Private Sub VBtn1_Click (e As BANanoEvent)
'???'
End Sub
Private Sub VCard1_Click (e As BANanoEvent)
'???
End Sub