private void ensureOrCancelAnimator(FloatingActionButton fab) {
        if (mFabTranslationYAnimator == null) {
            mFabTranslationYAnimator = ViewCompat.animate(fab);
            mFabTranslationYAnimator.setDuration(400);
            mFabTranslationYAnimator.setInterpolator(FAST_OUT_SLOW_IN_INTERPOLATOR);
        } else {
            mFabTranslationYAnimator.cancel();
        }
    }
Class description

@author ashokvarma
@version 1.0
@since 06 Jun 2016
common/src/main/java/com/sxjs/common/widget/bottomnavigation/behaviour/BottomNavBarFabBehaviour.java