Skip to content

Commit

Permalink
嵌套滑动fling结束时停止滑动
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed Apr 21, 2021
1 parent 18e323b commit f76530a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ public void computeScroll() {

if (mScrollState == SCROLL_STATE_SETTLING && mScroller.isFinished()) {
// 滚动结束,校验子view内容的滚动位置
stopNestedScroll(ViewCompat.TYPE_NON_TOUCH);
checkTargetsScroll(false, false);
setScrollState(SCROLL_STATE_IDLE);
}
Expand Down

0 comments on commit f76530a

Please sign in to comment.