I found the function fireTrigger in MotionLayout
but this function not like onTransitionStarted, onTransitionChange and onTransitionCompleted will be call.
And in my case, I need this lifecycle or another method to do my feature.
Like click a FloatingActionButton, and I change the image with vector svg and animation.
I found the function
fireTrigger
inMotionLayout
but this function not likeonTransitionStarted
,onTransitionChange
andonTransitionCompleted
will be call.And in my case, I need this lifecycle or another method to do my feature. Like click a FloatingActionButton, and I change the image with vector svg and animation.