onTransition

open fun onTransition(fromState: String, toState: String, time: Double)(source)

Fires once per completed transition, after both exit actions of fromState and entry actions of toState have run. A self-transition (transitionTo current state) still counts.