NestedScrollView
open class NestedScrollView : FrameLayout, NestedScrollingParent3, NestedScrollingChild3, ScrollingView(source)
SESL Variant NestedScrollView is just like ScrollView, but it supports acting as both a nested scrolling parent and child on both new and old versions of Android. Nested scrolling is enabled by default.
Types
Link copied to clipboard
interface OnScrollChangeListener
Interface definition for a callback to be invoked when the scroll X or Y positions of a view change.
Properties
Functions
Link copied to clipboard
Handle scrolling in response to an up or down arrow click.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The scroll range of a scroll view is the overall height of all of its children.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchNestedPreScroll(dx: Int, dy: Int, @Nullable consumed: Array<Int>, @Nullable offsetInWindow: Array<Int>): Boolean
open fun dispatchNestedPreScroll(dx: Int, dy: Int, @Nullable consumed: Array<Int>, @Nullable offsetInWindow: Array<Int>, type: Int): Boolean
Dispatch one step of a nested scroll in progress before this view consumes any portion of it.
Link copied to clipboard
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, @Nullable offsetInWindow: Array<Int>): Boolean
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, @Nullable offsetInWindow: Array<Int>, type: Int): Boolean
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, @Nullable offsetInWindow: Array<Int>, type: Int, @NonNull consumed: Array<Int>)
Dispatch one step of a nested scroll in progress.
Link copied to clipboard
Link copied to clipboard
You can call this function yourself to have the scroll view perform scrolling from a key event, just as if the event had been dispatched to it by the view hierarchy.
Link copied to clipboard
Link copied to clipboard
Handles scrolling in response to a "home/end" shortcut press.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns true if this view has a nested scrolling parent for the given input type.
Link copied to clipboard
Indicates whether this ScrollView's content is stretched to fill the viewport.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onNestedScroll(@NonNull target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int)
open fun onNestedScroll(@NonNull target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, type: Int)
open fun onNestedScroll(@NonNull target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, type: Int, @NonNull consumed: Array<Int>)
React to a nested scroll in progress.
Link copied to clipboard
Link copied to clipboard
React to a nested scroll operation ending.
Link copied to clipboard
Link copied to clipboard
Handles scrolling in response to a "page up/down" shortcut press.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set whether this ScrollView should stretch its content height to fill the viewport or not.
Link copied to clipboard
Link copied to clipboard
Register a callback to be invoked when the scroll X or Y positions of this view change.
Link copied to clipboard
Set whether arrow scrolling will animate its transition.
Link copied to clipboard
Link copied to clipboard
Like scrollBy, but scroll smoothly instead of immediately.
Link copied to clipboard
Like scrollTo, but scroll smoothly instead of immediately.
Link copied to clipboard
Begin a nestable scroll operation along the given axes, for the given input type.
Link copied to clipboard
Stop a nested scroll in progress for the given input type.