|
@@ -1,5 +1,6 @@
|
1
|
1
|
package com.reactnativenavigation.views.collapsingToolbar;
|
2
|
2
|
|
|
3
|
+import android.util.Log;
|
3
|
4
|
import android.view.animation.DecelerateInterpolator;
|
4
|
5
|
import android.view.animation.Interpolator;
|
5
|
6
|
|
|
@@ -47,10 +48,12 @@ class CollapsingTopBarReactHeaderAnimator {
|
47
|
48
|
}
|
48
|
49
|
|
49
|
50
|
private boolean shouldShow(float collapse) {
|
|
51
|
+ Log.i("shouldShow", "collapse: " + collapse + "[" + showThreshold + "]");
|
50
|
52
|
return Math.abs(collapse) < showThreshold && state == Invisible;
|
51
|
53
|
}
|
52
|
54
|
|
53
|
55
|
private boolean shouldHide(float collapse) {
|
|
56
|
+ Log.i("shouldHide", "collapse: " + collapse + "[" + hideThreshold + "]");
|
54
|
57
|
return Math.abs(collapse) >= hideThreshold && state == Visible;
|
55
|
58
|
}
|
56
|
59
|
|