code: public static DefaultTransitionController wrapAnimator(@NonNull Animator anim) {
          AnimatorSet set = new AnimatorSet();
          set.play(anim);
          return new DefaultTransitionController(set);
      }
docs: Wraps an Animator as a DefaultTransitionController
  
  @param anim
  @return