I have an activity with CollapsingToolbarLayout for parallax effect(From Android Design Library) and FrameLayout where i set Fragment.
Fragments layout contains NestedScrollView.
Everything is working well except one moment. In NestedScrollView I have a horizontal RecyclerView with StaggerGridLayoutManager and when i scroll vertically from that recyclerview - parallax not starting. When i scroll from any other place of screen it works.
Seems it's problem with layout_behavior tag or loosing focus of NestedScrollView.
Does any one faced this problem ? Some ideas ?
Fuh! Got a solution! Disabling nested scroll on RecyclerView solved the problem.
recyclerView.setNestedScrollingEnabled(false);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With