Android Question get view from more panels

Uniko Sistemi srl

Active Member
Licensed User
Hi everyone, I would like to ask if anyone knows where they can inform me if it is possible to do what I need.
I currently have a CLV, the elements of the CLV are composed of image inside a panel and with each click I intercept the value present in the tag.
Now I should add a second image inside the element present in the CLV and with each click I should understand which image they clicked between the two.
Can it be done?
Thanks to anyone who can give me a tip
 
Solution
Now I should add a second image inside the element present in the CLV and with each click I should understand which image they clicked between the two.
Set the same event name for both ImageViews, for example: "Img".
Then you will have the event:
B4X:
Private Sub Img_Click
   Dim IV As ImageView = Sender
   '
   '
End Sub
IV "will be" the clicked ImageView (more precisely it will be a reference to the clicked image).

LucaMs

Expert
Licensed User
Longtime User
Now I should add a second image inside the element present in the CLV and with each click I should understand which image they clicked between the two.
Set the same event name for both ImageViews, for example: "Img".
Then you will have the event:
B4X:
Private Sub Img_Click
   Dim IV As ImageView = Sender
   '
   '
End Sub
IV "will be" the clicked ImageView (more precisely it will be a reference to the clicked image).
 
Upvote 0
Solution

Uniko Sistemi srl

Active Member
Licensed User
Set the same event name for both ImageViews, for example: "Img".
Then you will have the event:
B4X:
Private Sub Img_Click
   Dim IV As ImageView = Sender
   '
   '
End Sub
IV "will be" the clicked ImageView (more precisely it will be a reference to the clicked image).


A thousand thanks !
 
Upvote 0
Top