Skip to content

Commit

Permalink
* 修复 onLayout 中的顺序问题
Browse files Browse the repository at this point in the history
  • Loading branch information
voiddog committed Oct 17, 2018
1 parent 2c8814d commit 06dd1a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,9 @@ public void playAnim() {
public boolean onLayoutChild(CoordinatorLayout parent, OverScrollAppBarLayout child, int layoutDirection) {
bindViews(parent, child);
parent.onLayoutChild(child, layoutDirection);
applyOffsetToView(child);
child.notifyNewOffset(getUIOffset(), getUIOffset()
, getMinOffset(parent, child), getMaxOffset(parent, child));
applyOffsetToView(child);
return true;
}

Expand Down

0 comments on commit 06dd1a3

Please sign in to comment.