baoyongzhang / baoyongzhang/android-PullRefreshLayout

D/Surface: Surface::setBuffersDimensions(this=0x7f98630600,w=800,h=1280)

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
515
PR merge metrics
No merged PRs in 30d

Description

There is so many many logs about "setBuffersDimensions" when already set refreshing(false).

//PullRefreshLayout.java
private Animation.AnimationListener mToStartListener = new Animation.AnimationListener() {
@Override
public void onAnimationStart(Animation animation) {
mRefreshDrawable.stop();
}

@Override
public void onAnimationRepeat(Animation animation) {
}

@Override
public void onAnimationEnd(Animation animation) {
// mRefreshDrawable.stop();
mRefreshView.setVisibility(View.GONE);
mCurrentOffsetTop = mTarget.getTop();
}
};

After stop the mRefreshDrawable in onAnimationEnd(), the problem has been solved.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.