mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-04 19:48:23 +08:00
ViewPager2.getCurrentItem() may not exist if the last item was selected and it is removed from the adapter. Resolves https://github.com/material-components/material-components-android/issues/616 PiperOrigin-RevId: 272511958