• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

to stop animation when touch event is released

Yati

Lurker
Mar 24, 2010
4
0
Hi,
I am very new to this forum i am sorry if i will be a bit confusing.
I am using frame animation when my animation starts perfectly,
when i try to use(i.e MotionEvent.ACTION_MOVE) it drags my
rectangle as i want but my problem is that it does not stop the
flickering as soon as i release my touch event i want it to stop
flickering but it still continues with it.
Please help me with it.
Thanks
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones