35 lines
1.2 KiB
Java
35 lines
1.2 KiB
Java
|
package androidx.core.animation;
|
||
|
|
||
|
import android.animation.Animator;
|
||
|
import d0.z.d.m;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: Animator.kt */
|
||
|
public final class AnimatorKt$doOnCancel$$inlined$addListener$1 implements Animator.AnimatorListener {
|
||
|
public final /* synthetic */ Function1 $onCancel;
|
||
|
|
||
|
public AnimatorKt$doOnCancel$$inlined$addListener$1(Function1 function1) {
|
||
|
this.$onCancel = function1;
|
||
|
}
|
||
|
|
||
|
@Override // android.animation.Animator.AnimatorListener
|
||
|
public void onAnimationCancel(Animator animator) {
|
||
|
m.checkParameterIsNotNull(animator, "animator");
|
||
|
this.$onCancel.invoke(animator);
|
||
|
}
|
||
|
|
||
|
@Override // android.animation.Animator.AnimatorListener
|
||
|
public void onAnimationEnd(Animator animator) {
|
||
|
m.checkParameterIsNotNull(animator, "animator");
|
||
|
}
|
||
|
|
||
|
@Override // android.animation.Animator.AnimatorListener
|
||
|
public void onAnimationRepeat(Animator animator) {
|
||
|
m.checkParameterIsNotNull(animator, "animator");
|
||
|
}
|
||
|
|
||
|
@Override // android.animation.Animator.AnimatorListener
|
||
|
public void onAnimationStart(Animator animator) {
|
||
|
m.checkParameterIsNotNull(animator, "animator");
|
||
|
}
|
||
|
}
|