|
@@ -8,6 +8,7 @@ import android.view.View;
|
8
|
8
|
import com.reactnativenavigation.params.NavigationParams;
|
9
|
9
|
import com.reactnativenavigation.views.collapsingToolbar.CollapseAmount;
|
10
|
10
|
import com.reactnativenavigation.views.collapsingToolbar.CollapsingView;
|
|
11
|
+import com.reactnativenavigation.views.collapsingToolbar.CollapsingViewMeasurer;
|
11
|
12
|
import com.reactnativenavigation.views.collapsingToolbar.OnScrollViewAddedListener;
|
12
|
13
|
import com.reactnativenavigation.views.collapsingToolbar.ScrollListener;
|
13
|
14
|
import com.reactnativenavigation.views.collapsingToolbar.ScrollViewDelegate;
|
|
@@ -65,12 +66,12 @@ public class CollapsingContentView extends ContentView implements CollapsingView
|
65
|
66
|
|
66
|
67
|
@Override
|
67
|
68
|
public float getFinalCollapseValue() {
|
68
|
|
- return 0;
|
|
69
|
+ return ((CollapsingViewMeasurer) viewMeasurer).getFinalCollapseValue();
|
69
|
70
|
}
|
70
|
71
|
|
71
|
72
|
@Override
|
72
|
73
|
public float getCurrentCollapseValue() {
|
73
|
|
- return 0;
|
|
74
|
+ return getTranslationY();
|
74
|
75
|
}
|
75
|
76
|
|
76
|
77
|
@Override
|