title: ViewPager2 with differing item heights and WRAP_CONTENT
body: <p>There are a few posts on getting ViewPager to work with varying height items that center around extending <code>ViewPager</code> itself to modify its <code>onMeasure</code> to support this.</p>
  <p>However, given that <strong><code>ViewPager2</code></strong> is marked as a final class, extending it isn't something that we can do.</p>
  <p>Does anyone know if there's a way to make this work out?</p>
  <hr />
  <h3>E.g. let's say I have two views:</h3>
  <p>View1 = 200dp</p>
  <p>View2 = 300dp</p>
  <p>When the ViewPager2 (<code>layout_height=&quot;wrap_content&quot;</code>) loads -- looking at View1, its height will be 200dp.</p>
  <p>But when I scroll over to View2, the height is still 200dp; the last 100dp of View2 is cut off.</p>