onDependentViewChanged

open override fun onDependentViewChanged(parent: CoordinatorLayout, child: View, dependency: View): Boolean

Handles changes to the dependent AppBarLayout view.

Return

True if the view changed and requires a layout, false otherwise.

Parameters

parent

The CoordinatorLayout containing the views.

child

The child View affected by the behavior.

dependency

The dependent View, typically an AppBarLayout.