use of com.reactnativenavigation.views.collapsingToolbar.ScrollListener in project react-native-navigation by wix.
the class CollapsingViewPagerScreen method setupCollapseDetection.
private void setupCollapseDetection(CollapsingContentView contentView) {
ScrollListener scrollListener = getScrollListener((CollapsingView) topBar);
contentView.setupCollapseDetection(scrollListener, new OnScrollViewAddedListener() {
@Override
public void onScrollViewAdded(ScrollView scrollView) {
((CollapsingTopBar) topBar).onScrollViewAdded(scrollView);
}
});
}
Aggregations