Use default AnimatorListener
This commit is contained in:
1 parent
56fc7507e3
commit
458a275dcd
7 files changed
+12
-49
No files matched your search
@@ -113,18 +113,9 @@ public class CheckTextView extends TextView implements OnClickListener, Hotspota
|
||||
|
||||
private Animator.AnimatorListener mAnimatorListener = new SimpleAnimatorListener() {
|
||||
@Override
|
||||
public void onAnimationCancel(Animator animation) {
|
||||
super.onAnimationCancel(animation);
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
mAnimator = null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation, boolean canceled) {
|
||||
super.onAnimationEnd(animation, canceled);
|
||||
if (!canceled) {
|
||||
mAnimator = null;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
public void prepareAnimations() {
|
||||
|
||||
Reference in new issue
Block a user