@Override public void onAnimationEnd(Animation animation) { if (mRefreshing) { mRefreshDrawable.start(); if (mNotify) { if (mListener != null) { mListener.onRefresh(); } } } else { mRefreshDrawable.stop(); mRefreshView.setVisibility(View.GONE); animateOffsetToStartPosition(); } mCurrentOffsetTop = mTarget.getTop(); }
@Override public void onAnimationEnd(Animation animation) { mRefreshDrawable.stop(); mRefreshView.setVisibility(View.GONE); mCurrentOffsetTop = mTarget.getTop(); }