I\'ve migrated to SDK Android 27.1.0 3 days ago, and there are some crashs like this one, I can\'t understand why. It appears (currently) on Android 8 and 6.
Ba
Same issues after update android library to 27.1.0
My viewPager has 3 tabs, this crash occurs if I select first or last tab, then after loss activity and returning to viewPager chose another tab got this crash.
Tested with 2 tabs has no crash.
My fix is
viewPager.setOffscreenPageLimit(2);
and crash is gone
EDIT
Updating to 27.1.1 has resolved issue