pageScroll

open fun pageScroll(direction: Int): Boolean(source)

Handles scrolling in response to a "page up/down" shortcut press. This method will scroll the view by one page up or down and give the focus to the topmost/bottommost component in the new visible area. If no component is a good candidate for focus, this scrollview reclaims the focus.

Return

true if the key event is consumed by this method, false otherwise

Parameters

direction

the scroll direction: FOCUS_UP to go one page up or FOCUS_DOWN to go one page down