You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can extract the local views from the adapter and assign onClickListeners to each.
I needed to set click events on each views to transition the pager to the relevant view, so I did this:
ok, so I have a whole buch of images in a carousel, but how do I add click functionality to them.
I've been asking about it here (you can see my code here too):
And when the specific item is in the middle, the function is called. I don't want this. I want it to call when I click on the image, not when it is in the middle of the carousel. and ideas?
How to setItemClickListener?I set OnClickListener to the ItemView.The current selected one can receive events but the others can not receive events.
code like this
The text was updated successfully, but these errors were encountered: