Skip to content

Commit

Permalink
代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed Mar 26, 2021
1 parent 4c48168 commit 71cae7d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1217,10 +1217,10 @@ private void checkTargetsScroll(boolean isLayoutChange, boolean isForce) {

for (int i = 0; i < index; i++) {
final View child = getChildAt(i);
if (child.getVisibility() == GONE){
continue;
}
if (ScrollUtils.isConsecutiveScrollerChild(child)) {
if (child.getVisibility() == GONE){
continue;
}
if (child instanceof IConsecutiveScroller) {
List<View> views = ((IConsecutiveScroller) child).getScrolledViews();
if (views != null && !views.isEmpty()) {
Expand Down

0 comments on commit 71cae7d

Please sign in to comment.