title: Open ViewPager2 to particular position without scrolling
body: <p>I have implemented a recyclerview with some videos <em>(say 10)</em>. Clicking on any item opens a <code>viewpager2 which is on some other activity</code> with all the items <em><code>and</code></em> the clicked one (from <code>recyclerview</code>) is shown. After that user can scroll to other item from there only. Everything is working fine. </p>
  
  <p><strong>Only the problem is with the scrolling when recyclerview item click where is the viewpager2 is opened.</strong></p>
  
  <p>Whenever any item is selected(10th). The viewpager opens first and the scroll itself to the (10th) position. I want to open 10th position of viewpager2 directly without scrolling. Any help would be appreciated. </p>
  
  <p>I have tried setting the current item as</p>
  
  <pre><code>viewPagerReview.currentItem = recyclerviewItemSelectedPosition
  </code></pre>
  
  <p>but if the current item is last position of the recyclerview then viewpager also scrolls till last position.</p>