Skip to content

Commit

Permalink
Bug fix: The drop bubble animation won't appear after the first
Browse files Browse the repository at this point in the history
pullToRefresh operation.
  • Loading branch information
Exlsunshine committed Aug 10, 2015
1 parent ed269e6 commit f6e301d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,11 @@ private void updateMaxDropHeight(int height) {
}

public void startDropAnimation() {
// show dropBubble again
mDisappearCircleAnimator = ValueAnimator.ofFloat(1.f, 1.f);
mDisappearCircleAnimator.setDuration(1);
mDisappearCircleAnimator.start();

mDropCircleAnimator = ValueAnimator.ofFloat(500 * (mWidth / 1440.f), mMaxDropHeight);
mDropCircleAnimator.setDuration(DROP_CIRCLE_ANIMATOR_DURATION);
mDropCircleAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
Expand Down

0 comments on commit f6e301d

Please sign in to comment.