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
api-impl: misc additions for Oeffi
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package android.view.animation;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
|
||||
public class Animation {
|
||||
|
||||
public interface AnimationListener {
|
||||
@@ -20,8 +23,15 @@ public class Animation {
|
||||
public void setStartOffset(long offset) {}
|
||||
|
||||
public void setAnimationListener(AnimationListener l) {
|
||||
l.onAnimationEnd(this); // FIXME
|
||||
new Handler(Looper.getMainLooper()).post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
l.onAnimationEnd(Animation.this); // FIXME
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void setRepeatCount(int count) {}
|
||||
|
||||
public void reset() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user