阅读背景:

ANDROID - 如何在开始新动画之前检查动画是否正在运行

来源:互联网 

Ok so I have a activity where I have multiple ImageViews and when you click on it the ImageView will fade out and fade back in. What I'm trying to figure out is how I can click one ImageView and start the animation and when I click a 2nd one and the animation is still running it will ignore the second one. I think I need to do something with the animationListener but I can't figure out how to use that to check if the animation is running or not before I initiate a new animation. I could have sworn I saw an example that did this but I've been looking for days and can't find it anymore, I'm hoping someone would be able to help out here..... below is the code for my animation:Ok so I have a activity where I have multiple I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: