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

Apps TranslateAnimation ???

aryaxt

Newbie
I am using TranslateAnimation to move an object from 1 position to another.
startX = 1;
secondX = 100;
thirdX = 200;

but the animation doesn't save the new location of the object.
So when i call it to go to secondX it goes from 1 to 100.
then, when i call it to go to thirdX instead of going from 100, to 200, it goes from 1 to 200.

Is the any way to save the location of the object on the screen after the animation is done?
 
Back
Top Bottom