getInsetDodgeRect
open fun getInsetDodgeRect(@NonNull parent: @NonNull CoordinatorLayout, @NonNull child: @NonNull V, @NonNull rect: @NonNull Rect): Boolean(source)
Called when a view is set to dodge view insets.
This method allows a behavior to update the rectangle that should be dodged. The rectangle should be in the parent's coordinate system and within the child's bounds. If not, a IllegalArgumentException is thrown.
Return
true the rect was updated, false if we should use the child's bounds
Parameters
parent
the CoordinatorLayout parent of the view this Behavior is associated with
child
the child view of the CoordinatorLayout this Behavior is associated with
rect
the rect to update with the dodge rectangle