I have quiz app. When someone click correct answer, then Button should change color for green and after that I want load new question(I have it in ListArray). It’s important: App should wait to the end of animation(in this moment all buttons are disabled) and after that load next question.
Could anybody give me a hint how to do this?
You can use a Handler to post after the animation is done. If your animation is 3 seconds, you’d do it like so.
Or you can set an animation listener (Handlers are better)