is there an overide funktion like onUpdate()

cooliancoolian Member ✭✭

is there an funktion that let me execute code each update or how would that work

Tagged:

Answers

  • JohnHJohnH GBMember ✭✭✭✭✭

    @coolian said:
    is there an funktion that let me execute code each update or how would that work

    You will need to provide a bit more relevant information about what you want to achieve before anyone can answer that.

  • cooliancoolian Member ✭✭

    @JohnHair said:

    @coolian said:
    is there an funktion that let me execute code each update or how would that work

    You will need to provide a bit more relevant information about what you want to achieve before anyone can answer that.

    i want to achive that an imageView changes its image after a little bit of time like 1 sec or something so i made a int variable which is set to 500 and i want to decrease it each frame i also have a button which is gona trigger an if() and the if is gona check if the int is 0 or less and if true then change the image and set the int to 500 also i know 500 is probably not 1 second but i can adjust that

  • cooliancoolian Member ✭✭

    figured it out need to use animationdrawable

Sign In or Register to comment.