baoyongzhang / android-PullRefreshLayout

This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout.
MIT License
2.07k stars 517 forks source link

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

Open hustlong opened 7 years ago

hustlong commented 7 years ago

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.