Android: fix refreshable view cannot scroll to origin accurate
This commit is contained in:
parent
7b979cb2b9
commit
5073dec8ac
@ -197,10 +197,6 @@ public class DoricSwipeLayout extends ViewGroup implements NestedScrollingParent
|
|||||||
public void onAnimationEnd(Animator animation) {
|
public void onAnimationEnd(Animator animation) {
|
||||||
mRefreshView.stopAnimation();
|
mRefreshView.stopAnimation();
|
||||||
mRefreshView.setVisibility(View.GONE);
|
mRefreshView.setVisibility(View.GONE);
|
||||||
// Return the circle to its start position
|
|
||||||
|
|
||||||
setTargetOffsetTopAndBottom(mOriginalOffsetTop - mCurrentTargetOffsetTop);
|
|
||||||
mCurrentTargetOffsetTop = mRefreshView.getTop();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user