Remove commented code

This commit is contained in:
Alexander-- 2019-12-10 21:21:35 +06:59
parent a0cb96abff
commit 8c9015b57b
1 changed files with 0 additions and 5 deletions

View File

@ -1,6 +1,5 @@
package com.google.android.material.appbar;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
@ -35,8 +34,6 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
return false;
}
int offset = getTopAndBottomOffset();
int dy;
if (focusScrollRect.bottom > height) {
@ -49,8 +46,6 @@ public final class FlingBehavior extends AppBarLayout.Behavior {
return false;
}
//int newOffset = offset + dy;
int consumed = scroll(coordinatorLayout, child, dy, getMaxDragOffset(child), 0);
return consumed == dy;