Skip to content

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

Description

@hustlong

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions