transition
@MainThread()
Content copied to clipboard
Start the transition animation and suspend until it completes or is cancelled.
Failure to suspend until the animation is complete can cause the drawable's Bitmap (if any) to be pooled while it is still in use.
NOTE: Implementations are responsible for calling the correct Target lifecycle callback. See CrossfadeTransition for an example.
Parameters
target
The target to apply this transition to.
result
The result of the image request.