canTargetScrollHorizontally

abstract fun canTargetScrollHorizontally(direction: Int): Boolean(source)

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

Return

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

Parameters

direction

Negative to check scrolling left, positive to check scrolling right.