Is there any way to attach a behavior in response to a sibling’s child (or grandchild) event?
Aitor Viana

No, unfortunately Behaviors must be attached to direct children. The ‘Attaching a Behavior programatically section’, the Behavior itself is stored as part of LayoutParams of each view and CoordinatorLayout only manages the LayoutParams of its direct children.

Show your support

Clapping shows how much you appreciated Ian Lake’s story.