onApplyWindowInsets
@NonNull
Called when the window insets have changed.
Any Behavior associated with the direct child of the CoordinatorLayout may elect to handle the window inset change on behalf of it's associated view.
Return
The insets supplied, minus any insets that were consumed
Parameters
coordinatorLayout
the CoordinatorLayout parent of the view this Behavior is associated with
child
the child view of the CoordinatorLayout this Behavior is associated with
insets
the new window insets.