fullScroll

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

Handles scrolling in response to a "home/end" shortcut press. This method will scroll the view to the top or bottom 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 the top of the view or FOCUS_DOWN to go the bottom