Skip to content

Commit

Permalink
优化细节 提供 scrollTop方法
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxikang committed Aug 30, 2016
1 parent 0bc6a97 commit 55fabd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ public void scrollTop(){
recyclerView.scrollToPosition(0);
mDispatchWebView.scrollTo(0, 0);
if (mDispatchWebView.isScroll()){

Log.d("TAG","滑动到顶部,获取触摸事件");
mDispatchWebView.ignoreTouchCancel(true);
isIntercept = true;
}
Expand Down

0 comments on commit 55fabd1

Please sign in to comment.