Multiple Images and their events
I am adding 3 50 x 50 png files in imageview. I want to call different click event for them. When I create multiple imageView objects, it does not fire click event for different images, instead it calls the last imgView event. How can resolve this issue?
1 Answer
-
Instead of creating new image objects for every image…. use a single image object and Assuming you want to flip images upon events… try changing the url of the older image object under whatever events you wanna handle(swipe or click…)
(Guess this should work).