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.?
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.?
To remove all frames you can call:
android = new AnimationDrawable();
Hope this helps.