private void startScaleUpAnimation(AnimationListener listener) {
this.mCircleView.setVisibility(0);
if (VERSION.SDK_INT >= 11) {
this.mProgress.setAlpha(255);
}
this.mScaleAnimation = new Animation() {
public void applyTransformation(float interpolatedTime, Transformation t) {
SwipeRefreshLayout.this.setAnimationProgress(interpolatedTime);
}
};
this.mScaleAnimation.setDuration((long) this.mMediumAnimationDuration);
if (listener != null) {
this.mCircleView.setAnimationListener(listener);
}
this.mCircleView.clearAnimation();
this.mCircleView.startAnimation(this.mScaleAnimation);
}
SwipeRefreshLayout.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:letv
作者:
评论列表
文章目录