You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
Directly calling onAnimationEnd() skips the animation and directly sets the target values
18 lines
324 B
Java
18 lines
324 B
Java
package android.animation;
|
|
|
|
public class Animator {
|
|
|
|
public interface AnimatorListener {
|
|
public abstract void onAnimationEnd (Animator animation);
|
|
}
|
|
|
|
public void setTarget(Object target) {}
|
|
|
|
public void start() {}
|
|
|
|
public void addListener(AnimatorListener listener) {
|
|
listener.onAnimationEnd(Animator.this);
|
|
}
|
|
|
|
}
|