If i want to flip view without rearImageAnimation, i cannot set it to non.
you must change this code:
setRearImageAnimation(AnimationUtils.loadAnimation(getContext(), animationResId > 0 ? animationResId : R.anim.scale_up));
to :
if(animationResId > 0) setRearImageAnimation(AnimationUtils.loadAnimation(getContext(),animationResId));
Or is there another way?
If i want to flip view without
rearImageAnimation, i cannot set it to non.you must change this code:
setRearImageAnimation(AnimationUtils.loadAnimation(getContext(), animationResId > 0 ? animationResId : R.anim.scale_up));to :
if(animationResId > 0) setRearImageAnimation(AnimationUtils.loadAnimation(getContext(),animationResId));Or is there another way?