RecyclerView prevents NestedScrollView ToolBar from minimizing
Hi I used Chris Banes example ( https://github.com/chrisbanes/cheesesquare ) to create this layout. I am trying to create a similar but slightly different version of this for my application. Although the example has 3 instances of the same Fragment with RecyclerView, my requirement is a RecyclerView Fragment, a NestedScrollView Fragment, and another RecyclerView Fragment.
No problem, if I start scrolling from the NestedScrollView snippet everything is fine, ToolBar is minimized and maximized accordingly. But once I go to the RecyclerView snippet and come back, I cannot minimize / maximize ToolBar. It stays frozen and I have to go back to the RecyclerView snippet to minimize / maximize it.
These are the layouts for the changed files, the rest is the same as in the repo:
What could I be doing wrong?
source to share