@@ -0,0 +1,1380 @@
+package in.uncod.android.animation;%0A%0Aimport android.view.View;%0Aimport com.nineoldandroids.animation.AnimatorListenerAdapter;%0A%0Aimport static com.nineoldandroids.view.ViewPropertyAnimator.animate;%0A%0Apublic class CommonAnimation %7B%0A%0A    public static void crossfade(View show, final View hide, int animationDuration) %7B%0A        // Set the content view to 0%25 opacity but visible, so that it is visible%0A        // (but fully transparent) during the animation.%0A        animate(show).alpha(0f).setDuration(0);%0A        show.setVisibility(View.VISIBLE);%0A%0A        // Animate the content view to 100%25 opacity, and clear any animation%0A        // listener set on the view.%0A        animate(show)%0A                .alpha(1f)%0A                .setDuration(animationDuration)%0A                .setListener(null);%0A%0A        // Animate the loading view to 0%25 opacity. After the animation ends,%0A        // set its visibility to GONE as an optimization step (it won't%0A        // participate in layout passes, etc.)%0A        animate(hide)%0A                .alpha(0f)%0A                .setDuration(animationDuration)%0A                .setListener(new AnimatorListenerAdapter() %7B%0A                    @Override%0A                    public void onAnimationEnd(com.nineoldandroids.animation.Animator animation) %7B%0A                        hide.setVisibility(View.GONE);%0A                    %7D%0A                %7D);%0A    %7D%0A%0A%7D%0A

Add static crossfade method