title: Recycler View Inside Recycler View not Scrolling
body: <p>There is a Recycler View inside the other Recycler View.Both needs to scroll vertically. Outer Recycler view is scrolling properly but inner recycler view is not. </p>
  
  <p>Here is the code:</p>
  
  <pre><code>LinearLayoutManager mLayoutManager = new LinearLayoutManager(ViewActivity.this);
  outerRecyclerView.setLayoutManager(mLayoutManager);
  ViewAdapter adapter = new ViewAdapter(ViewActivity.this);
  outerRecyclerView.setAdapter(adapter);
  </code></pre>
  
  <p>ViewAdapter is as follows:</p>
  
  <pre><code>public void onBindViewHolder(ViewAdapter.ViewViewHolder holder, int position)
  {
    //RECYCLER VIEW
    //TODO: Inner Recycler view scroll movement
    LinearLayoutManager mLayoutManager = new LinearLayoutManager(context);
    holder.protocolRecyclerView.setLayoutManager(mLayoutManager);
    ViewProtocolAdapter adapter = new ViewProtocolAdapter(context);
    holder.protocolRecyclerView.setAdapter(adapter);
  }
  </code></pre>
  
  <p>I have tried the following on both recycler views but could not solve the problem</p>
  
  <pre><code>recyclerView.addOnItemTouchListener(new RecyclerView.OnItemTouchListener() {
         @Override
         public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) {
             if(rv.getChildCount() &gt; 0) {
                 View childView = rv.findChildViewUnder(e.getX(), e.getY());
                 if(childView ==listView) {
                     int action = e.getAction();
                     switch (action) {
                         case MotionEvent.ACTION_DOWN:
                             rv.requestDisallowInterceptTouchEvent(true);
                     }
                 }
             }
  
             return false;
         }
  
         @Override
         public void onTouchEvent(RecyclerView rv, MotionEvent e) {
  
         }
  
         @Override
         public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) {
  
         }
     });
  </code></pre>
  
  <p>Also tried this one:</p>
  
  <pre><code>outerRecyclerView.setNestedScrollingEnabled(true);//Does not make any difference
  innerRecyclerView.setNestedScrollingEnabled(true);//Recycler View start scrolling but very slowly and sometimes scrolls the outer one.
  </code></pre>