Add triggerPoint() & initDefaultDeployAnimators.
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);