title: ViewPager2 with horizontal scrollView inside
body: <p>I implemented the new ViewPager for my project.
  The viewPager2 contains a list of fragment</p>
  
  <pre><code> private class ViewPagerAdapter extends FragmentStateAdapter {
  
      private ArrayList&lt;Integer&gt; classifiedIds;
  
      ViewPagerAdapter(@NonNull Fragment fragment, final ArrayList&lt;Integer&gt; classifiedIds) {
          super(fragment);
          this.classifiedIds = classifiedIds;
      }
  
      @NonNull
      @Override
      public Fragment createFragment(int position) {
          return DetailsFragment.newInstance(classifiedIds.get(position));
      }
  
      @Override
      public int getItemCount() {
          return classifiedIds.size();
      }
  }
  </code></pre>
  
  <p>Inside the fragment I got an horizontal recyclerView</p>
  
  <pre><code>LinearLayoutManager layoutManager = new LinearLayoutManager(getContext(), LinearLayoutManager.HORIZONTAL, false);
  recyclerViewPicture.setLayoutManager(layoutManager);
  </code></pre>
  
  <p>The issue is when I try to scroll the recyclerview the viewPager take the touch and swap to the next fragment</p>
  
  <p>When I was using the old ViewPager I didn't have this issue </p>