onSuccess

@NotNull
open fun onSuccess(@NotNull successTask: @NotNull Consumer<in T>): @NotNull TrackerAnimation.Builder<T>

Sets the task to run when the animation starts successfully.

Return

this builder

Since

2.2.0

Parameters

successTask

the success task