@Override
public int onFinish(@NonNull RefreshLayout layout, boolean success) {
mShowOuter = false;
mShowBoll = false;
ValueAnimator animator = ValueAnimator.ofFloat(0, 1);
animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
mFinishRatio = (float) animation.getAnimatedValue();
BezierCircleHeader.this.invalidate();
}
});
animator.setInterpolator(new AccelerateInterpolator());
animator.setDuration(DURATION_FINISH);
animator.start();
return DURATION_FINISH;
}
BezierCircleHeader.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:SmartRefreshLayout
作者:
评论列表
文章目录