setPress

open fun setPress(@NonNull view: View)(source)

Initiates the press animation on the specified view.

If the view is clickable, this method will either create a new SeslRecoilAnimator or reuse an existing one associated with the view to start the press animation. The press animation typically involves a scaling effect.

Parameters

view

The View to apply the press animation to. Must not be null.