canScrollList

open fun canScrollList(@NonNull listView: ListView, direction: Int): Boolean(source)

Deprecated

Use canScrollList directly.

Check if the items in the list can be scrolled in a certain direction.

Return

true if the list can be scrolled in the specified direction, false otherwise.

Parameters

listView

ListView for which to check the state.

direction

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

See also