onNestedScrollAccepted
Called when a nested scroll has been accepted by the CoordinatorLayout.
Any Behavior associated with any direct child of the CoordinatorLayout may elect to accept the nested scroll as part of onStartNestedScroll. Each Behavior that returned true will receive subsequent nested scroll events for that nested scroll.
Parameters
the CoordinatorLayout parent of the view this Behavior is associated with
the child view of the CoordinatorLayout this Behavior is associated with
the child view of the CoordinatorLayout that either is or contains the target of the nested scroll operation
the descendant view of the CoordinatorLayout initiating the nested scroll
the axes that this nested scroll applies to. See SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_VERTICAL
the type of input which cause this scroll event
See also
Deprecated
You should now override onNestedScrollAccepted. This method will still continue to be called if the type is TYPE_TOUCH.