onDependentViewRemoved

open fun onDependentViewRemoved(@NonNull parent: @NonNull CoordinatorLayout, @NonNull child: @NonNull V, @NonNull dependency: @NonNull View)(source)

Respond to a child's dependent view being removed.

This method is called after a dependent view has been removed from the parent. A Behavior may use this method to appropriately update the child view in response.

A view's dependency is determined by layoutDependsOn or if child has set another view as it's anchor.

Parameters

parent

the parent view of the given child

child

the child view to manipulate

dependency

the dependent view that has been removed