Progress

Track progress for Kotlin

CircleCI branch Maven Central DUB

//private part
val control = Progress.control()

//public part
val progress = control.progress

//get notified on updates
progress.update {
    println("${value}")
}

//set value
control.value = 0.25
control.value = 0.50
control.value = 0.75
control.value = 1.0

Getting started

This version is build against Kotlin 1.0 rc: 1.0.0-rc-1036.

Gradle

dependencies {
    compile 'nl.komponents.progress:progress:1.0.0-rc.1036'
}

Maven

<dependency>
    <groupId>nl.komponents.progress</groupId>
    <artifactId>progress</artifactId>
    <version>1.0.0-rc.1036</version>
</dependency>