Skip to content

Commit 4e1c834

Browse files
authored
fix-usage
1 parent 03970e2 commit 4e1c834

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ mNestedTouchScrollingLayout.registerNestScrollChildCallback(new NestedTouchScrol
5959

6060
// 当前 Layout 偏移距离
6161
@Override
62-
public void onNestChildScrollChange(float deltaY) {
62+
public void onNestChildScrollChange(float deltaY, float velocityY) {
6363

6464
}
6565

@@ -111,7 +111,7 @@ mNestedTouchScrollingLayout.setSheetDirection(NestedTouchScrollingLayout.SheetDi
111111

112112
mNestedTouchScrollingLayout.registerNestScrollChildCallback(new NestedTouchScrollingLayout.INestChildScrollChange() {
113113
@Override
114-
public void onNestChildScrollChange(float deltaY) {
114+
public void onNestChildScrollChange(float deltaY, float velocityY) {
115115

116116
}
117117

0 commit comments

Comments
 (0)