Skip to content

Commit

Permalink
// 修复点击后点击空白页面响应了之前的点击事件的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
razerdp committed Feb 20, 2017
1 parent bd489d8 commit c9d9f33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ Add the dependency
```


###Update log

- 2017/02/20
+ 修复点击后点击空白页面响应了之前的点击事件的问题


Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,12 @@ private void onTouchDown(MotionEvent event) {
if (view != null && view.isEnabled()) {
updateChildPressState(selectionPosition, true);
this.mSelectedPosition = selectionPosition;
} else {
this.mSelectedPosition = INVALID_POSITION;
}
}
} else {
this.mSelectedPosition = INVALID_POSITION;
}
}

Expand Down

0 comments on commit c9d9f33

Please sign in to comment.