1. Check out our companion app, Forums for Android! Download from Google Play

TranslateAnimation ???

Discussion in 'Application Development' started by aryaxt, Jun 17, 2010.

  1. aryaxt

    aryaxt Member
    Thread Starter

    Jun 1, 2010
    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?


Share This Page