Skip to content

Add triggerPoint() & initDefaultDeployAnimators.

Compare
Choose a tag to compare
@XunMengWinter XunMengWinter released this 13 May 08:33
· 17 commits to master since this release

Add triggerPoint() & initDefaultDeployAnimators.
Some situation, you can use new api triggerPoint() instead of triggerView(). And now, you can set the default OnDeployAnimator() by using

CircularAnim.initDefaultDeployAnimators(
                new CircularAnim.OnAnimatorDeployListener() {
                    @Override
                    public void deployAnimator(Animator animator) {
                        animator.setInterpolator(new AccelerateInterpolator());
                    }
                },
                new CircularAnim.OnAnimatorDeployListener() {
                    @Override
                    public void deployAnimator(Animator animator) {
                        animator.setInterpolator(new DecelerateInterpolator());
                    }
                },
                null,
                null);