question: public void addHoldAndReleaseView ( @ IdRes int holdAndReleaseViewId ) { holdAndReleaseViews . add ( new HoldAndReleaseView ( peekView . findViewById ( holdAndReleaseViewId ) ) ) ; }
target:  Specify id of view WITHIN the peek layout, this view will trigger the following events: onHold() - when the view is held for a small amount of time onLeave() - when the view is no longer held but the user is is still touching the screen onRelease() - when the user releases after holding the view <p/> You can add multiple HoldAndRelease views