title: How to make ViewPager2 look like an infinite loop with a 'slide' page transformer?
body: <p>I am looking for an infinite loop to display pictures in a ViewPager2.</p>
  
  <p>With a 'slide' page transformer (like default I think) between pictures, and also between last and first item, and first and last item.</p>
  
  <p>The difficulty I found is:</p>
  
  <ul>
  <li>to not have <code>Integer.maxValue</code> items, </li>
  <li>having a real transition between first and last element and not a <code>setCurrentItem(x, false)</code> which is not great to see.</li>
  </ul>