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
call onAnimationStart() / onAnimationStop() callbacks from View.startAnimation()
This commit is contained in:
@@ -1732,7 +1732,15 @@ public class View implements Drawable.Callback {
|
||||
|
||||
public void setOnCreateContextMenuListener (View.OnCreateContextMenuListener l) {}
|
||||
|
||||
public void startAnimation(Animation animation) {}
|
||||
protected void onAnimationStart() {}
|
||||
|
||||
protected void onAnimationEnd() {}
|
||||
|
||||
public void startAnimation(Animation animation) {
|
||||
onAnimationStart();
|
||||
animation.start();
|
||||
onAnimationEnd();
|
||||
}
|
||||
|
||||
public void getDrawingRect(Rect rect) {
|
||||
rect.left = getScrollX();
|
||||
|
||||
Reference in New Issue
Block a user