The problem is that you have 4 imageviews with the same eventname.
Change your code like this:
B4X:
Sub imageview_Click
Dim iv As ImageView = Sender
anim.InitializeAlpha("animAlpha" , 1 , 0.7 )
anim.Duration = 600
anim.RepeatCount = -1
anim.Start(iv)
End Sub
thanks derez
a new question : I need run an animation , how can I run only one animation?(when I touch all imageview , I see animation run at all objects ( imageview )
I will only an animation run at last touch and stop other animation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.