AnimationDrawable not playing

前端 未结 6 782
独厮守ぢ
独厮守ぢ 2020-12-31 00:22

So I want my animation to start as soon as the activity is created, but for some reason no matter what I try will get it to start. I can get it to start by having a click ev

6条回答
  •  醉话见心
    2020-12-31 00:35

    One more solution:

    Call animationDrawable.stop() before calling start() method.

提交回复
热议问题