Get location of object when animation is complete in android
Posted
by bgm
on Stack Overflow
See other posts from Stack Overflow
or by bgm
Published on 2010-03-02T21:52:56Z
Indexed on
2010/03/26
18:13 UTC
Read the original article
Hit count: 267
android
Is there a way to find out the final location of my animated "object" after the animation? Let's say I am animating an ImageView with location in parent as (0,0 - 20,20) using TranslateAnimation and ScaleAnimation over 1 second with setFillAfter(true).
How to I find the final location of this "object" (since the View location itself does not move)? I need to continue the animation from this point based on an user input.
© Stack Overflow or respective owner