canScrollHorizontally
Check if this ViewPager can be scrolled horizontally in a certain direction.
Return
Whether this ViewPager can be scrolled in the specified direction. It will always return false if the specified direction is 0.
Parameters
direction
Negative to check scrolling left, positive to check scrolling right.