ScrollingViewBehavior

open class ScrollingViewBehavior : HeaderScrollingViewBehavior

Behavior which should be used by Views which can scroll vertically and support nested scrolling to automatically scroll any AppBarLayout siblings.

Inheritors

Constructors

Link copied to clipboard
constructor()
constructor(context: Context, attrs: AttributeSet)

Functions

Link copied to clipboard
open fun layoutDependsOn(parent: CoordinatorLayout, child: View, dependency: View): Boolean
Link copied to clipboard
open fun onDependentViewChanged(@NonNull parent: CoordinatorLayout, @NonNull child: View, @NonNull dependency: View): Boolean
Link copied to clipboard
open fun onDependentViewRemoved(@NonNull parent: CoordinatorLayout, @NonNull child: View, @NonNull dependency: View)
Link copied to clipboard
open fun onRequestChildRectangleOnScreen(@NonNull parent: CoordinatorLayout, @NonNull child: View, @NonNull rectangle: Rect, immediate: Boolean): Boolean