0

I have been trying out frame animation in android. I am able to add new frames, by using the following command

     animation.addFrame(getResources().getDrawable

Is there a way where I can flush all the frames, start fresh again.?

Lakshmi Narayanan
  • 5,220
  • 13
  • 50
  • 92

1 Answers1

1

To remove all frames you can call:

android = new AnimationDrawable();

Hope this helps.

Nanoc
  • 2,381
  • 1
  • 20
  • 35