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