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
add more API stubs for NewPipe
This commit is contained in:
@@ -6,12 +6,17 @@ public class Animator {
|
||||
public abstract void onAnimationEnd (Animator animation);
|
||||
}
|
||||
|
||||
private AnimatorListener listener;
|
||||
|
||||
public void setTarget(Object target) {}
|
||||
|
||||
public void start() {}
|
||||
public void start() {
|
||||
if (listener != null)
|
||||
listener.onAnimationEnd(this);
|
||||
}
|
||||
|
||||
public void addListener(AnimatorListener listener) {
|
||||
listener.onAnimationEnd(Animator.this);
|
||||
this.listener = listener;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user