title: NestedScrollView inside ViewPager inside NestedScrollView: Innermost NestedScrollView not scrolling
body: <p>So I have a Fragment which uses a CoordinatorLayout with a NestedScrollView inside. Inside that NestedScrollView is a ViewPager. Each item of that ViewPager is a CoordinatorLayout with a NestedScrollView inside.</p>
  
  <p>The behavior I want is that when each item inside the ViewPager is scrolled up and down, my custom BottomBar will disappear and reappear.</p>
  
  <p>When I scroll up and down, however, the BottomBar disappears and reappears, but the content in the innermost ScrollView does not move. This is the problem</p>
  
  <p>Code posted below, any advice would be helpful.</p>
  
  <p>Things I've tried:</p>
  
  <ol>
  <li>Calling ViewCompat.setNestedScrollingEnabled() on nearly every view in the hierarchy that could scroll.</li>
  <li>Calling requestDisallowInterceptTouchEvent(true) on the outermost NestedScrollView. </li>
  </ol>
  
  <p><strong>Main Activity:</strong>
  <a href="https://i.stack.imgur.com/7xvV9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7xvV9.png" alt="enter image description here"></a></p>
  
  <p><strong>Fragment w/ outer NestedScrollView:</strong>
  <a href="https://i.stack.imgur.com/y2kDC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/y2kDC.png" alt="enter image description here"></a></p>
  
  <p><strong>Each item in ViewPager:</strong>
  <a href="https://i.stack.imgur.com/qB6WB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qB6WB.png" alt="enter image description here"></a></p>