code: public TransitionController addAnimatorAsTransition(@Nullable View target, @NonNull Animator animator) {
          AnimatorSet as = new AnimatorSet();
          as.play(animator);
          return addAnimatorSetAsTransition(target, as);
      }
docs: Adds an Animator as {@link TransitionController}
  
  @param target
  @param animator
  @return