Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed Jun 3, 2020
1 parent 1185b9c commit f7ca619
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1239,8 +1239,9 @@ private void stopScroll() {
}

private View getBottomView() {
if (getChildCount() > 0) {
return getChildAt(getChildCount() - 1);
List<View> views = getEffectiveChildren();
if (!views.isEmpty()) {
return views.get(views.size() - 1);
}
return null;
}
Expand Down

0 comments on commit f7ca619

Please sign in to comment.