ThreadProgressTaskAnimator
A BlockingAnimator for a single task.
Functions
Link copied to clipboard
Advance the completed progress of this task by amount.
Link copied to clipboard
Create an animator that runs this animation synchronously.
Link copied to clipboard
fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>
Run the animation in a background thread on an executor.
Link copied to clipboard
Create a ProgressState for this task's current state
Link copied to clipboard
Start the animation and refresh it until all its tasks are finished.
Link copied to clipboard
Update the task's state.
Link copied to clipboard
Set the completed progress of this task to completed.