@Override public void onAnimationEnd(Animation animation) { if (mListener != null) { mListener.onFlipEnd(this); } mIsRotationReversed = !mIsRotationReversed; }
@Override public void onClick(View v) { mAnimation.setVisibilitySwapped(); startAnimation(mAnimation); if (mListener != null) { mListener.onClick(this); } }
@Override public void onAnimationStart(Animation animation) { if (mListener != null) { mListener.onFlipStart(this); } }