error on super(orig, owner);
it's jump a little)
On 1 май, 14:07, Illidane <[email protected]> wrote:
> Hi all :)
> I'm trying to recompile AnimationDrawable class ( source code tooked
> from android source ) but I get some errors:
>
> private final static class AnimationState extends
> DrawableContainerState {
> private int[] mDurations;
> private boolean mOneShot;
>
> AnimationState(AnimationState orig, AnimationDrawable owner) {
> super(orig,
> owner);
> <<---------- error here
>
> if (orig != null) {
> mDurations = orig.mDurations;
> mOneShot = orig.mOneShot;
> } else {
> mDurations = new int[getChildren().length];
> mOneShot = true;
> }
> }
> ...
>
> It says "The constructor DrawableContainer.DrawableContainerState
> (AnimationDrawable.AnimationState, AnimationDrawable) is undefined".
> Any ideas how to fix it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---