title: Nested RecyclerView with CoordinatorLayout
body: <p>My question is just like this question <a href="https://stackoverflow.com/questions/32525314/scroll-behavior-in-nested-recyclerview-with-horizontal-scroll">Scroll behavior in nested RecyclerView with horizontal scroll</a></p>
  
  <p>Just like Google Play store, I have a nested RecyclerView(Horizontal) inside a parent RecyclerView. The parent RecyclerView is a child of CoordinatorLayout in which the toolbar expands and collapse when the parent RecyclerView scrolling happens.</p>
  
  <p>Everything works fine on touch outside of the child RecyclerView and scroll up CollapsingToolbar get collapsed but <strong>when i touch one of the the child RecyclerView and scroll up</strong> then the parent RecyclerView get scrolled and CollapsingToolbar doesn't work.</p>
  
  <p><a href="https://i.stack.imgur.com/bHOXD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/bHOXD.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/b2XvB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/b2XvB.png" alt="enter image description here"></a></p>
  
  <p>If require then i will add my Source Code here..</p>
  
  <p>Any help will be appreciated!!</p>
  
  <p><strong>UPDATE :</strong> </p>
  
  <p>activity of CoordinatorLayout </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.design.widget.CoordinatorLayout
  android:id="@+id/coord_layout"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  tools:context=".activity.ChannelHubOld"&gt;
  
  &lt;android.support.design.widget.AppBarLayout
      android:id="@+id/app_bar_layout"
      android:fitsSystemWindows="true"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"&gt;
  
      &lt;android.support.design.widget.CollapsingToolbarLayout
          android:id="@+id/collapsing_toolbar"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_scrollFlags="scroll|exitUntilCollapsed"
          app:contentScrim="?attr/colorPrimary"
          android:fitsSystemWindows="true"&gt;
          &lt;RelativeLayout
              android:background="@color/pkDarkGrey"
              android:fitsSystemWindows="true"
              android:layout_width="match_parent"
              android:layout_height="200dp"&gt;
  
              &lt;ImageView
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:scaleType="centerCrop"
                  android:src="@drawable/sidebar_header"/&gt;
          &lt;/RelativeLayout&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/my_toolbar"
              android:layout_width="match_parent"
              android:layout_height="?android:attr/actionBarSize"
              android:theme="@style/ActionBarWidget"/&gt;
  
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  &lt;!-- Parent RecyclerView ---&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          app:layout_behavior="@string/appbar_scrolling_view_behavior"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:id="@+id/recycler_view_pagelayout"
          /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>