Closed Ifans007 closed 3 years ago
in my case ViewPager2 has a vertical orientation after isUserInputEnabled = false during the swipe, ViewPager2 remains as in the screenshot and doesn't move anywhere attempts to set setCurrentItem or program scrolling do nothing
isUserInputEnabled = false
use only view_pager2.setCurrentItem(view_pager2.currentPosition, false)
view_pager2.setCurrentItem(view_pager2.currentPosition, false)
in my case ViewPager2 has a vertical orientation after
isUserInputEnabled = false
during the swipe, ViewPager2 remains as in the screenshot and doesn't move anywhere attempts to set setCurrentItem or program scrolling do nothing