canTargetScrollVertically

Override this method to return whether the target view can be scrolled vertically in a certain direction.

Return

true if the target view is able to vertically scroll in the specified direction.

Parameters

direction

Negative to check scrolling up, positive to check scrolling down.