title: TransitionListener callbacks not called when there is nothing to change
body: <p>I'm animating between scenes using the <code>TransitionManager</code> and constraint sets using the following code.</p>
  
  <pre><code>val transition = AutoTransition()
  transition.addListener(object : Transition.TransitionListener {
      override fun onTransitionEnd(transition: Transition) {
          // do something
      }
  })
  
  val constraintSet = ConstraintSet()
  constraintSet.clone(this, R.layout.frame_loading)
  TransitionManager.beginDelayedTransition(rootLayout, transition)
  constraintSet.applyTo(rootLayout)
  </code></pre>
  
  <p>There's something I want to do when the transition ends, hence the callback. However there are situations when there are views to change and when there are no views to change. When there is nothing to change there is no transition and the callback is not called (as explained <a href="https://stackoverflow.com/questions/34498374/why-does-my-android-transition-ignore-the-transitionlistener">here</a>), which is a problem because the action that's supposed to run on transition end is not run. Is there good way of solving this that's not some hack like moving an invisible view or other ways to force a predraw event (which triggers the transition)? Or is there a way to check if the transition is required or not?</p>