ldjesper f5762173cb Prevent possible NPE in TabLayoutMediator when an item is removed from the Adapter
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
2019-10-02 17:07:41 -04:00
..