Android Tutorial call views added in scrollview

Rachbob

Member
Licensed User
hello,

I found that there is no click event for scrollview. I wonder how can I call each view added for a later traitement. please if you have an idea. thanks.
 

DonManfred

Expert
Licensed User
Longtime User
Use xCustomListview instead of Scrollview.
 

Rachbob

Member
Licensed User
I have one scrollview filled with several imageviews. I need a click event to display each image into a full screen activity.
 

LucaMs

Expert
Licensed User
Longtime User
I have one scrollview filled with several imageviews. I need a click event to display each image into a full screen activity.
you should use the view's click event.
Set the same Event Name to all the ImageViews, like "Image", for example. Then:
B4X:
Sub Image_Click
    Dim iv As ImageView = Sender
    ' here do what you want with iv
End Sub
 
Top