Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed May 6, 2020
1 parent 15f5428 commit 08b6295
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ static boolean isConsecutiveScrollerChild(View view) {
* @return
*/
static boolean isRecyclerLayout(View view) {
return view instanceof RecyclerView || view instanceof AbsListView;
View scrolledView = getScrolledView(view);
return scrolledView instanceof RecyclerView || scrolledView instanceof AbsListView;
}

/**
Expand Down

0 comments on commit 08b6295

Please sign in to comment.